From c5660b58d97044cd3bbb80a0a03102415020b385 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 23 Mar 2017 18:07:04 +0000 Subject: (svn r27819) -Fix (r26990): Update viewport sign dimensions when changing GUI zoom level. --- src/settings_gui.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 0652d1bd8..e20ac3307 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -36,6 +36,8 @@ #include "textfile_gui.h" #include "stringfilter_type.h" #include "querystring_gui.h" +#include "signs_func.h" +#include "station_func.h" #include @@ -532,6 +534,9 @@ struct GameOptionsWindow : Window { _gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index); UpdateCursorSize(); LoadStringWidthTable(); + UpdateAllSignVirtCoords(); + UpdateAllTownVirtCoords(); + UpdateAllStationVirtCoords(); break; case WID_GO_BASE_GRF_DROPDOWN: -- cgit v1.2.3-70-g09d2