Skip to content

Commit

Permalink
fix: crash on clicking blank area when enable auto split keyboard space
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Mar 20, 2024
1 parent e6b402d commit 5d7ebbe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ class KeyboardView
the sliding distance on the other coordinate axis.
*/
if (mPossiblePoly) return false
if (mDownKey == NOT_A_KEY) return false
val deltaX = me2.x - me1!!.x // distance X
val deltaY = me2.y - me1.y // distance Y
val absX = abs(deltaX) // absolute value of distance X
Expand Down

0 comments on commit 5d7ebbe

Please sign in to comment.