News: Portal
Our Simutrans site. You can find everything about Simutrans from here.

color setting is undefined in theme => inherits the color of the previous theme

Started by Ranran(retired), December 24, 2020, 05:26:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


If the color setting is undefined in, it inherits the color of the previously selected theme.

For example, the tile cursor color is reddish orange if undefined. If you choose the modern theme first, it will be that color, but the Modern theme does not specify that color, and the undefined color will be assigned at initialization. Black is specified for high contrast. Switch to high contrast and then back to the modern theme. The cursor remains black. It inherited the high contrast theme's color setting without being initialized.

This applies to all colors that can be set in the theme.
Basically, I only report bugs occasionally, never provide patches for new features.
I may only work on fixing bugs that are caused by Ranran.
Fork of simutrans extended for Jalápagos is here.