do not show a popup if long pressed and moved at Delete etc

This commit is contained in:
tibbi 2022-01-11 15:44:31 +01:00
parent 5c2011b6f9
commit 91b3557c2d
1 changed files with 2 additions and 0 deletions

View File

@ -871,6 +871,8 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
previewPopup.showAtLocation(mPopupParent, Gravity.NO_GRAVITY, mPopupPreviewX, mPopupPreviewY) previewPopup.showAtLocation(mPopupParent, Gravity.NO_GRAVITY, mPopupPreviewX, mPopupPreviewY)
} }
mPreviewText!!.visibility = VISIBLE mPreviewText!!.visibility = VISIBLE
} else {
previewPopup.dismiss()
} }
} }