mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Cancel gesture preview update when gesture typing is canceled
Bug: 7594165 Change-Id: I2854a49b2a2e5d3e36cafc5196191359fd2bf003
This commit is contained in:
parent
d4dbf09241
commit
6f0a60d10d
@ -721,6 +721,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
||||
if (key != null) {
|
||||
updateBatchInput(eventTime);
|
||||
}
|
||||
if (mIsTrackingCanceled) {
|
||||
return;
|
||||
}
|
||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
||||
}
|
||||
|
||||
@ -759,6 +762,9 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (mIsTrackingCanceled) {
|
||||
return;
|
||||
}
|
||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTrackerInQueue(this));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user