The International Simutrans Forum


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

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1723
  • 今日は兎汁よー
  • Languages: ja
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.

Offline Leartin

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