mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Disable isSingleMoreKeyWithPreview
This commit is contained in:
parent
69a74799e3
commit
80607fc8dc
@ -603,7 +603,7 @@ public final class MainKeyboardView extends KeyboardView implements DrawingProxy
|
|||||||
// though there may be some chances that the value is zero. <code>width == 0</code>
|
// though there may be some chances that the value is zero. <code>width == 0</code>
|
||||||
// will cause zero-division error at
|
// will cause zero-division error at
|
||||||
// {@link MoreKeysKeyboardParams#setParameters(int,int,int,int,int,int,boolean,int)}.
|
// {@link MoreKeysKeyboardParams#setParameters(int,int,int,int,int,int,boolean,int)}.
|
||||||
final boolean isSingleMoreKeyWithPreview = mKeyPreviewDrawParams.isPopupEnabled()
|
final boolean isSingleMoreKeyWithPreview = false && mKeyPreviewDrawParams.isPopupEnabled()
|
||||||
&& !key.getNoKeyPreview() && moreKeys.size() == 1
|
&& !key.getNoKeyPreview() && moreKeys.size() == 1
|
||||||
&& mKeyPreviewDrawParams.getVisibleWidth() > 0;
|
&& mKeyPreviewDrawParams.getVisibleWidth() > 0;
|
||||||
final MoreKeysKeyboard.Builder builder = new MoreKeysKeyboard.Builder(
|
final MoreKeysKeyboard.Builder builder = new MoreKeysKeyboard.Builder(
|
||||||
|
Loading…
Reference in New Issue
Block a user