Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the gestures for a certain drawer #30

Closed
ccosnean opened this issue Jul 30, 2018 · 1 comment
Closed

Remove the gestures for a certain drawer #30

ccosnean opened this issue Jul 30, 2018 · 1 comment

Comments

@ccosnean
Copy link

How do I remove the gestures for a certain drawer?

I will have a drawer with the main menu on all pages, and a drawer with an module submenu for a certain module...

and I want only the main menu to be triggered by gestures...

@kawoou
Copy link
Owner

kawoou commented Nov 22, 2018

Change the options as follows:

drawerController?.getSideOption(for: .left)?.isGesture = false

@kawoou kawoou closed this as completed Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants