Page 1 of 1

[0.17.42] Mod manager has bad conrast on some (deactivated?) entry.

Posted: Wed May 22, 2019 5:23 pm
by eradicator
What?

The color of some of the entries in the mod list has a really bad contrast with the "yellow" selection bar. At first i thought it was every second entry (i.e. alternating table rows) but that doesn't always seem to be true.

Seems to also happen on active entries according to this post but i can't reproduce that.
badconstrast.png
badconstrast.png (41.9 KiB) Viewed 864 times

Re: [0.17.42] Mod manager has bad conrast on some (deactivated?) entry.

Posted: Fri May 31, 2019 3:14 am
by Rseding91
Thanks for the report. Do you have any way to reproduce this? When I test, it always shows the correct style on hover/selection.

Re: [0.17.42] Mod manager has bad conrast on some (deactivated?) entry.

Posted: Fri May 31, 2019 9:22 am
by eradicator
Was a bit baffled because from memory "it's always been like this". But i think i found the pattern. Only mods with an unfullfilled dependency (either factorio version or info.json dependency) show this behavior. GUI debugging says it's "invalid_hovered_mod_label" in all instances, while the other ones are "valid_*".

invalid_hovered_mod_label.png
invalid_hovered_mod_label.png (57.11 KiB) Viewed 785 times