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

Avoid disabling MenuToggleKey #27

Merged
merged 1 commit into from
May 13, 2020
Merged

Avoid disabling MenuToggleKey #27

merged 1 commit into from
May 13, 2020

Conversation

carmineos
Copy link
Collaborator

It should be avoided to flag the control for MenuToggleKey as disabled if there is no menu open.

Some scripts might want to perform specific actions based on control check state and do different based on if the control is enabled or disabled (or they can just don't care about the status but it's up to them). Having the MenuToggleKey flagged as disabled seems logically wrong as would never allow to such control to be enabled.

MenuAPI shouldn't flag any control as disabled for the entire lifetime of the script, it should only do it for the limited time required to perform its own checks.

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

Successfully merging this pull request may close these issues.

2 participants