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.0.51] choose-elem-button sticky hover if enabled with script then had selection
[2.0.51] choose-elem-button sticky hover if enabled with script then had selection
- Attachments
-
- gui-bug_0.0.1.zip
- (863 Bytes) Downloaded 13 times
Re: [2.0.51] choose-elem-button sticky hover if enabled with script then had selection
Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.