Skip to content

Has somebody figured how to disable events upon toggling an option in the option menu? #4222

Answered by AbnormalPoof
MAZ12211 asked this question in Q&A
Discussion options

You must be logged in to vote

You can move the event logic to a separate module instead of putting it in handleEvent, then simply disable that module when enabling an option.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@MAZ12211
Comment options

@Starexify
Comment options

@AbnormalPoof
Comment options

@Starexify
Comment options

@MAZ12211
Comment options

Comment options

You must be logged in to vote
3 replies
@MAZ12211
Comment options

@AbnormalPoof
Comment options

@MAZ12211
Comment options

Answer selected by AbnormalPoof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants