fix excessive delay on spacebar long press

This commit is contained in:
dslul 2020-01-27 08:40:04 +01:00
parent 6c6c24ca84
commit ca808ef0bd
2 changed files with 1 additions and 5 deletions

View file

@ -1193,10 +1193,6 @@ public final class PointerTracker implements PointerTrackerQueue.Element,
// We use longer timeout for sliding finger input started from the modifier key.
return longpressTimeout * MULTIPLIER_FOR_LONG_PRESS_TIMEOUT_IN_SLIDING_INPUT;
}
if (code == Constants.CODE_SPACE) {
// Cursor can be moved in space
return longpressTimeout * MULTIPLIER_FOR_LONG_PRESS_TIMEOUT_IN_SLIDING_INPUT;
}
return longpressTimeout;
}

View file

@ -34,7 +34,7 @@
android:defaultValue="false" />
<CheckBoxPreference
android:key="pref_show_language_switch_key"
android:title="Show language switch key"
android:title="@string/show_language_switch_key"
android:defaultValue="false"
android:persistent="true" />
<CheckBoxPreference