mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-23 16:43:55 +00:00
Disable bounce-back on the reveal view controller
This commit is contained in:
1 parent
34707e7743
commit
61c7d9f2b3
1 file changed
+4
@@ -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)];
|
||||
|
||||
Reference in new issue
Block a user