mirror of https://github.com/OpenTTD/OpenTTD
Change: Mark whole screen dirty when toggling font AA. (#11825)
parent
4cc97e04e6
commit
7faa3848de
|
@ -584,7 +584,7 @@ struct GameOptionsWindow : Window {
|
||||||
_fcsettings.global_aa = !_fcsettings.global_aa;
|
_fcsettings.global_aa = !_fcsettings.global_aa;
|
||||||
|
|
||||||
this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa);
|
this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa);
|
||||||
this->SetDirty();
|
MarkWholeScreenDirty();
|
||||||
|
|
||||||
ClearFontCache();
|
ClearFontCache();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue