From b16eaafd2c6a7a183261df25bf916d3af05cca6e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 29 Apr 2020 18:00:17 -0700 Subject: [PATCH] Allow continuous scroll type gestures. Fixes #408 --- Limelight/Input/StreamView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index b24b2ec..e2b0f83 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -78,7 +78,7 @@ static const int REFERENCE_HEIGHT = 720; [self addInteraction:[[UIPointerInteraction alloc] initWithDelegate:self]]; UIPanGestureRecognizer *mouseWheelRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(mouseWheelMoved:)]; - mouseWheelRecognizer.allowedScrollTypesMask = UIScrollTypeMaskDiscrete; + mouseWheelRecognizer.allowedScrollTypesMask = UIScrollTypeMaskAll; mouseWheelRecognizer.allowedTouchTypes = @[@(UITouchTypeIndirectPointer)]; [self addGestureRecognizer:mouseWheelRecognizer]; }