mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 00:06:31 +00:00
Suppress all kbProductivity gesture recognizers
This commit is contained in:
parent
015cfecdd6
commit
9e669d13fa
@ -476,8 +476,8 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
|
||||
- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
|
||||
if (@available(iOS 13.0, *)) {
|
||||
// Disable the 3 finger tap gesure that triggers the copy/paste/undo toolbar on iOS 13+
|
||||
return ![@"kbProductivity.threeFingerPinch" isEqualToString:gestureRecognizer.name];
|
||||
// Disable the 3 finger tap gestures that trigger the copy/paste/undo toolbar on iOS 13+
|
||||
return gestureRecognizer.name == nil || ![gestureRecognizer.name hasPrefix:@"kbProductivity."];
|
||||
}
|
||||
else {
|
||||
return YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user