Changeset - r27645:e2ac80ba7058
[Not reviewed]
master
0 1 0
Peter Nelson - 12 months ago 2023-06-25 14:48:15
peter1138@openttd.org
Fix: Ensure settings page label is orange.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/settings_gui.cpp
Show inline comments
 
@@ -1717,7 +1717,7 @@ void SettingsPage::DrawSetting(GameSetti
 
{
 
	bool rtl = _current_text_dir == TD_RTL;
 
	DrawSprite((this->folded ? SPR_CIRCLE_FOLDED : SPR_CIRCLE_UNFOLDED), PAL_NONE, rtl ? right - _circle_size.width : left, y + (SETTING_HEIGHT - _circle_size.height) / 2);
 
	DrawString(rtl ? left : left + _circle_size.width + WidgetDimensions::scaled.hsep_normal, rtl ? right - _circle_size.width - WidgetDimensions::scaled.hsep_normal : right, y + (SETTING_HEIGHT - FONT_HEIGHT_NORMAL) / 2, this->title);
 
	DrawString(rtl ? left : left + _circle_size.width + WidgetDimensions::scaled.hsep_normal, rtl ? right - _circle_size.width - WidgetDimensions::scaled.hsep_normal : right, y + (SETTING_HEIGHT - FONT_HEIGHT_NORMAL) / 2, this->title, TC_ORANGE);
 
}
 

	
 
/** Construct settings tree */
0 comments (0 inline, 0 general)