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

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

Fix mini keyboard display position when preview is disabled

Bug: 3021082
Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
parent 56cd6df9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1119,7 +1119,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
        popupY -= container.getMeasuredHeight();
        popupY += container.getPaddingBottom();
        final int x = popupX;
        final int y = isOneRowKeyboard(mMiniKeyboard.getKeyboard())
        final int y = mShowPreview && isOneRowKeyboard(mMiniKeyboard.getKeyboard())
                ? mPopupPreviewDisplayedY : popupY;

        int adjustedX = x;