mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 6b75eaa1: Fix mini keyboard display position when preview is disabled
Merge commit '6b75eaa12d69c1db048985a19df85215998f321e' into gingerbread-plus-aosp * commit '6b75eaa12d69c1db048985a19df85215998f321e': Fix mini keyboard display position when preview is disabled
This commit is contained in:
commit
9c822ec48d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user