mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am b28139f5: Use PointerTrackerQueue.size instead of MotionEvent.getPointerCount
* commit 'b28139f51b2f2e6dfd60e968024006f53590a41c': Use PointerTrackerQueue.size instead of MotionEvent.getPointerCount
This commit is contained in:
commit
014148aebd
@ -819,8 +819,9 @@ public class PointerTracker implements PointerTrackerQueue.Element {
|
|||||||
// touch panels when there are close multiple touches.
|
// touch panels when there are close multiple touches.
|
||||||
// Caveat: When in chording input mode with a modifier key, we don't use
|
// Caveat: When in chording input mode with a modifier key, we don't use
|
||||||
// this hack.
|
// this hack.
|
||||||
if (me != null && me.getPointerCount() > 1
|
final PointerTrackerQueue queue = sPointerTrackerQueue;
|
||||||
&& !sPointerTrackerQueue.hasModifierKeyOlderThan(this)) {
|
if (queue != null && queue.size() > 1
|
||||||
|
&& !queue.hasModifierKeyOlderThan(this)) {
|
||||||
onUpEventInternal();
|
onUpEventInternal();
|
||||||
}
|
}
|
||||||
if (!mIsPossibleGesture) {
|
if (!mIsPossibleGesture) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user