minor tweak for abs touch

This commit is contained in:
TrueZhuanjia
2025-11-08 14:58:42 +08:00
parent e53e997cd4
commit d244c9bd1f
+3 -1
View File
@@ -113,6 +113,7 @@
multiTouchesDetected = true;
[longPressTimer invalidate];
longPressTimer = nil;
return;
}
CGPoint initialPoint = [[touches anyObject] locationInView:streamView];
@@ -188,7 +189,7 @@
if(passthroughGestures) [TouchPadGestureHandler handleGestureIn:streamView with:event];
}
if(multiTouchesDetected) return;
if(currentTouchesCount > 1) return;
if(![currentTouches containsObject:capturedTouch]) return;
@@ -290,3 +291,4 @@
@end