- minor fix

This commit is contained in:
TrueZhuangjia committed 2024-09-14 14:14:43 +08:00
1 parent dc8e361b6b
commit b3a64fdf0f
1 file changed
+1
+1
View File
@@ -142,6 +142,7 @@ static const float QUICK_TAP_TIME_INTERVAL = 0.2;
return; return;
} }
touchPointSpawnedAtUpperScreenEdge = false; // reset this flag immediately if we get a touch event passing the check above, this fixes irresponsive touch after closing the command tool menu.
if([[event allTouches] count] == 2 && ![self containOnScreenButtonTaps] && ![self containOnScreenControllerTaps:[event allTouches]]){ if([[event allTouches] count] == 2 && ![self containOnScreenButtonTaps] && ![self containOnScreenControllerTaps:[event allTouches]]){
NSLog(@"get in scrolling mode"); NSLog(@"get in scrolling mode");