reproduce and fix issues #355 #343 #304 and closes #367

This commit is contained in:
Kevin Jahns
2022-02-03 21:10:24 +01:00
parent 6403bc2bb5
commit 4cfa49d601
3 changed files with 199 additions and 36 deletions

View File

@@ -88,7 +88,7 @@ const popStackItem = (undoManager, stack, eventType) => {
}
})
itemsToRedo.forEach(struct => {
performedChange = redoItem(transaction, struct, itemsToRedo, itemsToDelete) !== null || performedChange
performedChange = redoItem(transaction, struct, itemsToRedo, stackItem.insertions) !== null || performedChange
})
// We want to delete in reverse order so that children are deleted before
// parents, so we have more information available when items are filtered.