[2.0.51] choose-elem-button sticky hover if enabled with script then had selection
Posted: Tue May 20, 2025 11:56 pm
1. Create a choose-elem-button with any elem_type, but starting disabled
2. Enable it later. If running Space Age, assign any elem_filters to it, otherwise it will work as expected
3. Perform selection
4. Expect its graphics to return to normal. Instead it's as if it's still being hovered over
Attached gui-bug_0.0.1.zip is the mod which shows a minimal GUI for it using elem_type "recipe". If Space Age mod is enabled it'll give "crafting" category filter.
Gif of me playing around with it with Space Age enabled:
2. Enable it later. If running Space Age, assign any elem_filters to it, otherwise it will work as expected
3. Perform selection
4. Expect its graphics to return to normal. Instead it's as if it's still being hovered over
Attached gui-bug_0.0.1.zip is the mod which shows a minimal GUI for it using elem_type "recipe". If Space Age mod is enabled it'll give "crafting" category filter.
Gif of me playing around with it with Space Age enabled: