Skip to content

Commit d5b7142

Browse files
QubaBadil192
authored andcommitted
Fixed recording history when image itself is moved. pageStartIndex must be set.
1 parent 41f605f commit d5b7142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pages/editor/editor.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ class EditorState extends State<Editor> {
862862
history.recordChange(EditorHistoryItem(
863863
type: EditorHistoryItemType.move,
864864
pageIndex: image.pageIndex,
865+
pageIndexStart: image.pageIndex,
865866
strokes: [],
866867
images: [image],
867868
offset: offset,

0 commit comments

Comments
 (0)