Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef43cc9d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix dismissing gesture floating preview

Bug: 8063926
Change-Id: I3b5b29ea0d5e4833e10e830dbdb086c868cd4884
parent dbd518b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@ public class GestureFloatingPreviewText extends AbstractDrawingPreview {
     */
    protected void updatePreviewPosition() {
        if (mSuggestedWords.isEmpty() || TextUtils.isEmpty(mSuggestedWords.getWord(0))) {
            getDrawingView().invalidate();
            return;
        }
        final String text = mSuggestedWords.getWord(0);