mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Suppress undo during strokes.
This commit is contained in:
parent
cf1763e79d
commit
f224c2130a
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue