mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
don't show input method pick on long pressing a custom space key with popups
This commit is contained in:
parent
ed776c3804
commit
71ddc20041
1 changed files with 1 additions and 1 deletions
|
@ -1098,7 +1098,7 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
|
|||
}
|
||||
final int code = key.getCode();
|
||||
if (code == KeyCode.LANGUAGE_SWITCH
|
||||
|| (code == Constants.CODE_SPACE && Settings.getInstance().getCurrent().mSpaceForLangChange)
|
||||
|| (code == Constants.CODE_SPACE && key.getPopupKeys() == null && Settings.getInstance().getCurrent().mSpaceForLangChange)
|
||||
) {
|
||||
// Long pressing the space key invokes IME switcher dialog.
|
||||
if (sListener.onCustomRequest(Constants.CUSTOM_CODE_SHOW_INPUT_METHOD_PICKER)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue