Closed badosu closed 3 months ago
This PR is composed of 5 small changes, 4 fixes and one feature improvement:
feat(gridmenu): Select first item available
Instead of first in the list, if it's not available pick the next available when autoselecting on category switch
fix(info): Fix special activecmd coloring
It was never being successful since exposed selectedID does not exist by buildmenu. Instead we use the activecmd, which should have been used in the first place.
fix(gridmenu): Stale gui_info
Info panel would get stale when hovering a cell and switching selection without moving the mouse to a non constructor unit (e.g. control group)
fix(gridmenu): Defensively check areamex widget 40af666
If areamex broke, gridmenu should not break
fix(info): Not showing pregame build selection
This PR is composed of 5 small changes, 4 fixes and one feature improvement:
feat(gridmenu): Select first item available
Instead of first in the list, if it's not available pick the next available when autoselecting on category switch
fix(info): Fix special activecmd coloring
It was never being successful since exposed selectedID does not exist by buildmenu. Instead we use the activecmd, which should have been used in the first place.
fix(gridmenu): Stale gui_info
Info panel would get stale when hovering a cell and switching selection without moving the mouse to a non constructor unit (e.g. control group)
fix(gridmenu): Defensively check areamex widget 40af666
If areamex broke, gridmenu should not break
fix(info): Not showing pregame build selection