(svn r27819) -Fix (r26990): Update viewport sign dimensions when changing GUI zoom level.
This commit is contained in:
@@ -36,6 +36,8 @@
|
|||||||
#include "textfile_gui.h"
|
#include "textfile_gui.h"
|
||||||
#include "stringfilter_type.h"
|
#include "stringfilter_type.h"
|
||||||
#include "querystring_gui.h"
|
#include "querystring_gui.h"
|
||||||
|
#include "signs_func.h"
|
||||||
|
#include "station_func.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@@ -532,6 +534,9 @@ struct GameOptionsWindow : Window {
|
|||||||
_gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
|
_gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index);
|
||||||
UpdateCursorSize();
|
UpdateCursorSize();
|
||||||
LoadStringWidthTable();
|
LoadStringWidthTable();
|
||||||
|
UpdateAllSignVirtCoords();
|
||||||
|
UpdateAllTownVirtCoords();
|
||||||
|
UpdateAllStationVirtCoords();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WID_GO_BASE_GRF_DROPDOWN:
|
case WID_GO_BASE_GRF_DROPDOWN:
|
||||||
|
Reference in New Issue
Block a user