Add invert_colors to button_style
Add invert_colors to button_style
black icons are not visible and their color needs to be inverted.
but invert_colors does not work for button_style.
Could you add this functionality?
Re: Add invert_colors to button_style
If at all, it should be a property in SpritePrototype, not button style. But you can already include manually modified files and use those.
Re: Add invert_colors to button_style
hmm. This is not what it should be according to the logic of things.curiosity wrote: Sat Mar 15, 2025 9:00 am If at all, it should be a property in SpritePrototype, not button style. But you can already include manually modified files and use those.
The button style should define this.
if a mod adds its own button to shortcuts or mod_gui_button, then it will be black and I need to catch all the icons and invert their colors. what if the icon is colored? it will invert its colors and ruin everything.
Now I understand why this won't work properly. and why the game has icons of black and white versions.
for shortcut and mod_gui I will have to make a light background.
for other buttons I will invert the colors of the sprites