Suppress undo during strokes.

This commit is contained in:
Matthew Chen 2018-12-18 14:03:42 -05:00
parent cf1763e79d
commit f224c2130a

View file

@ -412,7 +412,8 @@ public class ImageEditorModel: NSObject {
suppressUndo: Bool = false) {
performAction({ (newContents) in
newContents.replace(item: item)
}, suppressUndo: suppressUndo)
}, changedItemIds: [item.itemId],
suppressUndo: suppressUndo)
}
@objc