mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 094447bd: am ad662ade: Disable delete key repeating while in slide input mode
* commit '094447bd4652f9ed038f0489ef4e4f5af1679143': Disable delete key repeating while in slide input mode
This commit is contained in:
commit
94ad2ef762
@ -1247,10 +1247,13 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void startRepeatKey(final Key key) {
|
private void startRepeatKey(final Key key) {
|
||||||
if (key != null && key.isRepeatable() && !sInGesture) {
|
if (sInGesture) return;
|
||||||
onRegisterKey(key);
|
if (key == null) return;
|
||||||
mTimerProxy.startKeyRepeatTimer(this);
|
if (!key.isRepeatable()) return;
|
||||||
}
|
// Don't start key repeat when we are in sliding input mode.
|
||||||
|
if (mIsInSlidingKeyInputFromModifier) return;
|
||||||
|
onRegisterKey(key);
|
||||||
|
mTimerProxy.startKeyRepeatTimer(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onRegisterKey(final Key key) {
|
public void onRegisterKey(final Key key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user