From f2cf788d86631c29bbd538ba066b6b42cd91cbf4 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Tue, 18 Jun 2024 02:25:08 +0800 Subject: [PATCH] minor change --- Limelight/ViewControllers/CustomEdgeSwipeGestureRecognizer.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Limelight/ViewControllers/CustomEdgeSwipeGestureRecognizer.m b/Limelight/ViewControllers/CustomEdgeSwipeGestureRecognizer.m index 874d2523..ee0f51f5 100644 --- a/Limelight/ViewControllers/CustomEdgeSwipeGestureRecognizer.m +++ b/Limelight/ViewControllers/CustomEdgeSwipeGestureRecognizer.m @@ -39,14 +39,12 @@ static CGFloat EDGE_TOLERANCE_POINTS = 50.0f; if(self.edges & UIRectEdgeLeft){ if(_startPointX < EDGE_TOLERANCE_POINTS && normalizedGestureDistance > _normalizedThresholdDistance){ - self.state = UIGestureRecognizerStateBegan; self.state = UIGestureRecognizerStateEnded; } // NSLog(@"_startPointX %f , normalizedGestureDeltaX %f", _startPointX, normalizedGestureDistance); } if(self.edges & UIRectEdgeRight){ if((_startPointX > (screenWidthInPoints - EDGE_TOLERANCE_POINTS)) && normalizedGestureDistance > _normalizedThresholdDistance){ - self.state = UIGestureRecognizerStateBegan; self.state = UIGestureRecognizerStateEnded; } // NSLog(@"_startPointX %f , normalizedGestureDeltaX %f", _startPointX, normalizedGestureDistance);