Skip to content

Commit

Permalink
also require that there not be a repeating key
Browse files Browse the repository at this point in the history
  • Loading branch information
devycarol committed Jun 27, 2024
1 parent c0d2c22 commit 0008bef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,8 @@ private void onMoveEventInternal(final int x, final int y, final long eventTime)
final Key oldKey = mCurrentKey;

// todo (later): extend key swipe stuff
if (!mIsInSlidingKeyInput && !mDidShowPopupKeys && oldKey != null
&& keySwipe(oldKey.getCode(), x, y)) return;
if (!mIsInSlidingKeyInput && !mDidShowPopupKeys && mCurrentRepeatingKeyCode == Constants.NOT_A_CODE
&& oldKey != null && keySwipe(oldKey.getCode(), x, y)) return;

final Key newKey = onMoveKey(x, y);
final int lastX = mLastX;
Expand Down

0 comments on commit 0008bef

Please sign in to comment.