The International Simutrans Forum

 

Author Topic: color setting is undefined in theme => inherits the color of the previous theme  (Read 292 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
If the color setting is undefined in theme.tab, 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.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1573
  • PAK-DEV P192C
  • Languages: DE, EN