From 401e3687deadcb1aaa3960061b1150cd2560ce09 Mon Sep 17 00:00:00 2001 From: Alan Evans Date: Fri, 17 May 2019 16:21:49 -0300 Subject: [PATCH] Image Editor - when no sticker selected, go back to mode NONE. --- .../thoughtcrime/securesms/scribbles/ImageEditorFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/thoughtcrime/securesms/scribbles/ImageEditorFragment.java b/src/org/thoughtcrime/securesms/scribbles/ImageEditorFragment.java index 5862d59483..18114a68bc 100644 --- a/src/org/thoughtcrime/securesms/scribbles/ImageEditorFragment.java +++ b/src/org/thoughtcrime/securesms/scribbles/ImageEditorFragment.java @@ -236,6 +236,8 @@ public final class ImageEditorFragment extends Fragment implements ImageEditorHu EditorElement element = new EditorElement(renderer); imageEditorView.getModel().addElementCentered(element, 0.2f); currentSelection = element; + } else { + imageEditorHud.enterMode(ImageEditorHud.Mode.NONE); } }