am ef43cc9d: Fix dismissing gesture floating preview
# Via Tadashi G. Takaoka * commit 'ef43cc9d1c78d051b3d2923ce3166e9703d4b2ce': Fix dismissing gesture floating previewmain
commit
7b5fcc4721
|
@ -157,6 +157,7 @@ public class GestureFloatingPreviewText extends AbstractDrawingPreview {
|
||||||
*/
|
*/
|
||||||
protected void updatePreviewPosition() {
|
protected void updatePreviewPosition() {
|
||||||
if (mSuggestedWords.isEmpty() || TextUtils.isEmpty(mSuggestedWords.getWord(0))) {
|
if (mSuggestedWords.isEmpty() || TextUtils.isEmpty(mSuggestedWords.getWord(0))) {
|
||||||
|
getDrawingView().invalidate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final String text = mSuggestedWords.getWord(0);
|
final String text = mSuggestedWords.getWord(0);
|
||||||
|
|
Loading…
Reference in New Issue