When you click on a radio button in the epicmenu, the window is reset. It should probably be reset in a way that's less disruptive.
The current reset
- resizes the horizontal size of the menu to default
- returns display to top of content. Especially noticeable in Settings/Unit Behavior/Default States/Misc/Blueprint
applicable pointer to code:
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_epicmenu.lua#L1178
This function MakeSubWindow is defined twice (once defined as an empty function local, then re-assigned later with a different param signature). Makes me not want to touch it. It's also quite monolithic.
When you click on a radio button in the epicmenu, the window is reset. It should probably be reset in a way that's less disruptive.
The current reset
applicable pointer to code:
https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_epicmenu.lua#L1178
This function MakeSubWindow is defined twice (once defined as an empty function local, then re-assigned later with a different param signature). Makes me not want to touch it. It's also quite monolithic.