Changeset - r28502:33497dc56e8b
[Not reviewed]
master
0 1 0
Peter Nelson - 11 months ago 2024-01-17 23:04:07
peter1138@openttd.org
Change: Mark whole screen dirty when toggling font AA. (#11825)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/settings_gui.cpp
Show inline comments
 
@@ -581,13 +581,13 @@ struct GameOptionsWindow : Window {
 
				break;
 

	
 
			case WID_GO_GUI_FONT_AA:
 
				_fcsettings.global_aa = !_fcsettings.global_aa;
 

	
 
				this->SetWidgetLoweredState(WID_GO_GUI_FONT_AA, _fcsettings.global_aa);
 
				this->SetDirty();
 
				MarkWholeScreenDirty();
 

	
 
				ClearFontCache();
 
				break;
 
#endif /* HAS_TRUETYPE_FONT */
 

	
 
			case WID_GO_GUI_SCALE:
0 comments (0 inline, 0 general)