Fix undesireable undo behavior when deleting.

This commit is contained in:
Greyson Parrelli
2021-09-09 11:05:55 -04:00
parent b0d0814b88
commit c7fb343b93

View File

@@ -467,7 +467,6 @@ public final class ImageEditorView extends FrameLayout {
public void deleteElement(@Nullable EditorElement editorElement) {
if (editorElement != null) {
model.pushUndoPoint();
model.delete(editorElement);
invalidate();
}