瀏覽代碼

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 年之前
父節點
當前提交
d23bacea31
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      lib/ios/RNNSideMenuController.m

+ 1
- 1
lib/ios/RNNSideMenuController.m 查看文件

@@ -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];