(svn r27819) -Fix (r26990): Update viewport sign dimensions when changing GUI zoom level.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 7 years ago
parent 0d8ae4d6f4
commit c5660b58d9

@ -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 <vector>
@ -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:

Loading…
Cancel
Save