mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 05:52:47 +00:00
fix excessive delay on spacebar long press
This commit is contained in:
parent
6c6c24ca84
commit
ca808ef0bd
2 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue