am ef43cc9d
: Fix dismissing gesture floating preview
# Via Tadashi G. Takaoka * commit 'ef43cc9d1c78d051b3d2923ce3166e9703d4b2ce': Fix dismissing gesture floating preview
This commit is contained in:
commit
7b5fcc4721
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ public class GestureFloatingPreviewText extends AbstractDrawingPreview {
|
|||
*/
|
||||
protected void updatePreviewPosition() {
|
||||
if (mSuggestedWords.isEmpty() || TextUtils.isEmpty(mSuggestedWords.getWord(0))) {
|
||||
getDrawingView().invalidate();
|
||||
return;
|
||||
}
|
||||
final String text = mSuggestedWords.getWord(0);
|
||||
|
|
Loading…
Reference in a new issue