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

[Suggestion] Add checkbox to Menu Interface #83

Closed
Damien111 opened this issue Sep 4, 2022 · 1 comment · Fixed by #146
Closed

[Suggestion] Add checkbox to Menu Interface #83

Damien111 opened this issue Sep 4, 2022 · 1 comment · Fixed by #146
Labels
enhancement New feature or request

Comments

@Damien111
Copy link

Damien111 commented Sep 4, 2022

There are checkboxes in the input dialog, could they be added to the base menu interface? I might be wrong but I don't seem to see if that is a default option. Would be extremely useful for making toggle menus.

@LukeWasTakenn LukeWasTakenn added the enhancement New feature or request label Sep 8, 2022
@LukeWasTakenn
Copy link
Member

Tbh when I was making the menu the idea of checkboxes didn't really occur to me so to implement something like this there would probably need to some rewriting required as the UI is currently written around the idea of indexes and scroll indexes for list menu items.

However you can currently achieve the same effect as a checkbox by setting 2 values on an button item and then setting the default index to the one from the onSideScroll function callback.

@LukeWasTakenn LukeWasTakenn linked a pull request Oct 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants