mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix incorrect vertical position for more keys
This commit is contained in:
parent
99d5fda170
commit
233e850422
@ -644,7 +644,7 @@ public final class MainKeyboardView extends KeyboardView implements DrawingProxy
|
||||
// aligned with the bottom edge of the visible part of the key preview.
|
||||
// {@code mPreviewVisibleOffset} has been set appropriately in
|
||||
// {@link KeyboardView#showKeyPreview(PointerTracker)}.
|
||||
final int pointY = key.getY() + mKeyPreviewDrawParams.getVisibleOffset();
|
||||
final int pointY = key.getY() + mKeyPreviewDrawParams.getVisibleOffset() + key.getHeight();
|
||||
moreKeysKeyboardView.showMoreKeysPanel(this, this, pointX, pointY, mKeyboardActionListener);
|
||||
return moreKeysKeyboardView;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user