Add support for nested SubMenus#1005
Conversation
|
I just realized this definitely conflicts with my last pull request. Should I worry about this or that's not my responsibility? |
|
Don't worry about conflicts until one of the two gets merged. We will simply rebase onto dev once one is merged. |
f62f03f to
377d1d5
Compare
|
Rebased the branch, ready for review. |
|
Assigning myself to remind myself to review this in the (hopefully near) future. |
Wartori54
left a comment
There was a problem hiding this comment.
Just pushed two tiny corrections, and with that LGTM!
|
The pull request was approved and entered the 3-day last-call window. Since no PR should be merged within 3 days of the next rolling release, the last-call window is extended further. |
|
The last-call window for this pull request ended. It can now be merged if no blockers were brought up. |
Adds support for nested
SubMenus.Every
SubMenunow stores aParentsubmenu. If theParentisnullthe submenu is added toTextMenu,Container'sFocused,AutoScrollfields andMoveSelectionmethod should be used. Otherwise we do the same things but for theParent.To keep parent
SubMenuvisible while not in focus,ItemsVisibleflag was added.Mod example: NestedSubMenuExample.zip
8mb.video-a8J-VS9ioLQK.mp4