From 9e669d13fae141a686f2767db91dc2d3ac3a16f4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 7 Dec 2020 21:10:30 -0600 Subject: [PATCH] Suppress all kbProductivity gesture recognizers --- Limelight/Input/StreamView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index 51443826..a9a50591 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -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;