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