decreased the horizontal swiping sensitivity of LF4 to prevent accidental keyboard switching
This commit is contained in:
parent
bcf73a90a2
commit
3eefc01576
1 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,11 @@ public class SoftKeyLF4 extends SwipeableKey {
|
|||
return tt9 != null && tt9.getSettings().getEnabledLanguageIds().size() > 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected float getSwipeXThreshold(Context context) {
|
||||
return super.getSwipeXThreshold(context) * 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void handleHold() {
|
||||
preventRepeat();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue