Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

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.