minor tweak for abs touch
This commit is contained in:
1 parent
e53e997cd4
commit
d244c9bd1f
1 file changed
+3
-1
@@ -113,6 +113,7 @@
|
|||||||
multiTouchesDetected = true;
|
multiTouchesDetected = true;
|
||||||
[longPressTimer invalidate];
|
[longPressTimer invalidate];
|
||||||
longPressTimer = nil;
|
longPressTimer = nil;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGPoint initialPoint = [[touches anyObject] locationInView:streamView];
|
CGPoint initialPoint = [[touches anyObject] locationInView:streamView];
|
||||||
@@ -188,7 +189,7 @@
|
|||||||
if(passthroughGestures) [TouchPadGestureHandler handleGestureIn:streamView with:event];
|
if(passthroughGestures) [TouchPadGestureHandler handleGestureIn:streamView with:event];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(multiTouchesDetected) return;
|
if(currentTouchesCount > 1) return;
|
||||||
|
|
||||||
if(![currentTouches containsObject:capturedTouch]) return;
|
if(![currentTouches containsObject:capturedTouch]) return;
|
||||||
|
|
||||||
@@ -290,3 +291,4 @@
|
|||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
Reference in new issue
Block a user