(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
This commit is contained in:
@@ -188,8 +188,6 @@ void ZoomInOrOutToCursorWindow(bool in, Window *w)
|
||||
}
|
||||
}
|
||||
|
||||
extern void UpdateAllStationVirtCoords();
|
||||
|
||||
/** Widgets of the main window. */
|
||||
enum MainWindowWidgets {
|
||||
MW_VIEWPORT, ///< Main window viewport.
|
||||
@@ -293,7 +291,7 @@ struct MainWindow : Window
|
||||
break;
|
||||
|
||||
case '2' | WKC_ALT: // Update the coordinates of all station signs
|
||||
UpdateAllStationVirtCoords();
|
||||
UpdateAllVirtCoords();
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user