mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge commit '9c822ec48de0e6839a861212d8b7143f70b29fd1' * commit '9c822ec48de0e6839a861212d8b7143f70b29fd1': Fix mini keyboard display position when preview is disabled
This commit is contained in:
commit
75abaf5d8f
@ -1119,7 +1119,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
|
|||||||
popupY -= container.getMeasuredHeight();
|
popupY -= container.getMeasuredHeight();
|
||||||
popupY += container.getPaddingBottom();
|
popupY += container.getPaddingBottom();
|
||||||
final int x = popupX;
|
final int x = popupX;
|
||||||
final int y = isOneRowKeyboard(mMiniKeyboard.getKeyboard())
|
final int y = mShowPreview && isOneRowKeyboard(mMiniKeyboard.getKeyboard())
|
||||||
? mPopupPreviewDisplayedY : popupY;
|
? mPopupPreviewDisplayedY : popupY;
|
||||||
|
|
||||||
int adjustedX = x;
|
int adjustedX = x;
|
||||||
|
Loading…
Reference in New Issue
Block a user