mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
5d599dc835
commit
290fc57c34
17 files changed
+220
-38
No files matched your search
@@ -64,9 +64,10 @@ func (e *Editor) CopyObjectsToComposite(page int, path ObjectPath, objects []Gra
|
||||
}
|
||||
}
|
||||
var content []byte
|
||||
validation := &editorValidation{Editor: e}
|
||||
for _, source := range objects {
|
||||
id := e.nextID()
|
||||
object, err := e.prepareCopiedObject(id, source)
|
||||
object, err := validation.prepareCopiedObject(id, source)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user