Skip to content

When clicking an epicmenu radio button, the window resets #5819

Description

@SteelBlueZK

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions