| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
In the unlikely event that this happens, the user probably wants it to be a clickable menu button, not an empty menu. If they really do want an empty menu, they can pass `[]`, as documented in all the hierarchical collections.
The previous implementation would trigger them for several incorrect reasons.
|
I tried to make this work with keyboard controls, but MenuBar doesn't listen for key events unless a sub-menu is open. We could change that, but then we'd have to listen for focus events to know when to remove the stage keyboard listener, and that's a bunch of work for an edge case. Edit: And it doesn't highlight the button, we'd have to change how that works too. For now I'll keep this as a draft, in case someone comes up with a better idea. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
In the unlikely event that this happens, the user probably wants it to be a clickable menu button, not an empty menu. If they really do want an empty menu, they can pass [], as documented in all the hierarchical collections.