mirror of https://github.com/OpenTTD/OpenTTD
Fix: Ensure settings page label is orange.
parent
55e3dd9409
commit
40a9b080aa
|
@ -1717,7 +1717,7 @@ void SettingsPage::DrawSetting(GameSettings *settings_ptr, int left, int right,
|
|||
{
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue