mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:59:27 +08:00
This commit is contained in:
1 parent
c2d9a349c5
commit
0f2fb7a842
17 files changed
+113
-61
No files matched your search
@@ -207,7 +207,7 @@ func (e *Editor) SetObjectDrawParam(page int, ids []string, id string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
updated := &editorObjectOrigin{editor: e, data: data, node: root, object: next}
|
||||
updated := &editorObjectOrigin{editor: e, document: e.documentIdentity(), data: data, node: root, object: next}
|
||||
if origin != nil {
|
||||
updated.page, root.parent = origin.page, origin.node.parent
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user