Ver código fonte

Updated RNNSideMenuController.m (#2788)

on clicking the outside of the sideMenu area sideMenu not closing,
because there is a problem in the code which i modified now
Narayana 6 anos atrás
pai
commit
d23bacea31
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      lib/ios/RNNSideMenuController.m

+ 1
- 1
lib/ios/RNNSideMenuController.m Ver arquivo

@@ -30,7 +30,7 @@
30 30
 	self.sideMenu = [[MMDrawerController alloc] initWithCenterViewController:self.center leftDrawerViewController:self.left rightDrawerViewController:self.right];
31 31
 	
32 32
 	self.sideMenu.openDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
33
-	self.sideMenu.closeDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
33
+	self.sideMenu.closeDrawerGestureModeMask = MMCloseDrawerGestureModeAll;
34 34
 	
35 35
 	[self addChildViewController:self.sideMenu];
36 36
 	[self.sideMenu.view setFrame:self.view.bounds];