mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix bug in KeyPreviewChoreographer.dismissKeyPreview"
This commit is contained in:
commit
dd6ba4b184
@ -101,10 +101,11 @@ public final class KeyPreviewChoreographer {
|
|||||||
if (tag instanceof KeyPreviewAnimations) {
|
if (tag instanceof KeyPreviewAnimations) {
|
||||||
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
|
final KeyPreviewAnimations animation = (KeyPreviewAnimations)tag;
|
||||||
animation.startDismiss();
|
animation.startDismiss();
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Dismiss preview without animation.
|
// Dismiss preview without animation.
|
||||||
|
mShowingKeyPreviewTextViews.remove(key);
|
||||||
if (tag instanceof Animator) {
|
if (tag instanceof Animator) {
|
||||||
((Animator)tag).cancel();
|
((Animator)tag).cancel();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user