mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am d2c00f55: Fix dismiss key preview bug introduced by I658a5b16cc
* commit 'd2c00f550d6b4f2452fe38cee7c1d2222a4b4b3d': Fix dismiss key preview bug introduced by I658a5b16cc
This commit is contained in:
commit
2f7dced0fc
@ -481,9 +481,9 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void dismissKeyPreview(final Key key) {
|
public void dismissKeyPreview(final Key key) {
|
||||||
final KeyPreviewChoreographer keyPreviewChoreographer = mKeyPreviewChoreographer;
|
|
||||||
if (isHardwareAccelerated()) {
|
if (isHardwareAccelerated()) {
|
||||||
keyPreviewChoreographer.dismissKeyPreview(key, true /* withAnimation */);
|
mKeyPreviewChoreographer.dismissKeyPreview(key, true /* withAnimation */);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
// TODO: Implement preference option to control key preview method and duration.
|
// TODO: Implement preference option to control key preview method and duration.
|
||||||
mTimerHandler.postDismissKeyPreview(key, mKeyPreviewDrawParams.getLingerTimeout());
|
mTimerHandler.postDismissKeyPreview(key, mKeyPreviewDrawParams.getLingerTimeout());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user