Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
devycarol committed Jun 30, 2024
1 parent 7e93cf6 commit 9cba312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ private void dragFingerOutFromOldKey(final Key oldKey, final int x, final int y)

private boolean keySwipe(final int code, final int x, final int y, final long eventTime) {
final SettingsValues sv = Settings.getInstance().getCurrent();
final int fastTypingTimeout = 3 * sv.mKeyLongpressTimeout / 4;
final int fastTypingTimeout = 2 * sv.mKeyLongpressTimeout / 3;
// we don't want keyswipes to start immediately if the user is fast-typing,
// see https://github.com/openboard-team/openboard/issues/411
if (System.currentTimeMillis() < mStartTime + fastTypingTimeout && sTypingTimeRecorder.isInFastTyping(eventTime))
Expand Down

0 comments on commit 9cba312

Please sign in to comment.