adding some key popup characters

This commit is contained in:
tibbi
2022-01-15 20:23:53 +01:00
parent e0d4979865
commit 8ce069ca3b
2 changed files with 29 additions and 16 deletions

View File

@ -1157,8 +1157,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
}
if (coords[0] - me.x > mPopupMaxMoveDistance || // left
me.x - (coords[0] + mMiniKeyboard!!.width) > mPopupMaxMoveDistance || // right
me.y > mPopupMaxMoveDistance // bottom
me.x - (coords[0] + mMiniKeyboard!!.width) > mPopupMaxMoveDistance // right
) {
dismissPopupKeyboard()
}