From 61c7d9f2b3c98901eb402afc82e3c992bc81d939 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 18 Sep 2019 19:59:24 -0700 Subject: [PATCH] Disable bounce-back on the reveal view controller --- Limelight/ViewControllers/MainFrameViewController.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 654f943..8482ab7 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -709,6 +709,10 @@ static NSMutableSet* hostList; // Get callbacks associated with the viewController [self.revealViewController setDelegate:self]; + + // Disable bounce-back on reveal VC otherwise the settings will snap closed + // if the user drags all the way off the screen opposite the settings pane. + self.revealViewController.bounceBackOnOverdraw = NO; #else _menuRecognizer = [[UITapGestureRecognizer alloc] init]; [_menuRecognizer addTarget:self action: @selector(showHostSelectionView)];