Skip to content
Snippets Groups Projects
Commit abda1a3d authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Fix wrong more keys offset without preview

parent 951c24e1
No related branches found
No related tags found
No related merge requests found
......@@ -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() + key.getHeight();
final int pointY = key.getY() + mKeyPreviewDrawParams.getVisibleOffset() + (keyPreviewEnabled ? key.getHeight() : key.getVerticalGap());
moreKeysKeyboardView.showMoreKeysPanel(this, this, pointX, pointY, mKeyboardActionListener);
return moreKeysKeyboardView;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment