mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
413d41c31d
commit
f1864952ad
10 files changed
+450
-97
No files matched your search
@@ -253,7 +253,7 @@ func (e *Editor) replaceGroup(page int, indexes []editorObjectPosition, objects
|
||||
}
|
||||
}
|
||||
apply(e, after, origins)
|
||||
if change := e.recordChange(); change != nil {
|
||||
if change := e.recordChange(page); change != nil {
|
||||
change.undo = func(e *Editor) { apply(e, before, previous) }
|
||||
change.redo = func(e *Editor) { apply(e, after, origins) }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user