Add: Define scaled WidgetDimensions.
Includes RectPadding container.
This commit is contained in:
@@ -3356,6 +3356,7 @@ void ReInitWindow(Window *w, bool zoom_changed)
|
||||
/** Re-initialize all windows. */
|
||||
void ReInitAllWindows(bool zoom_changed)
|
||||
{
|
||||
SetupWidgetDimensions();
|
||||
NWidgetLeaf::InvalidateDimensionCache(); // Reset cached sizes of several widgets.
|
||||
NWidgetScrollbar::InvalidateDimensionCache();
|
||||
|
||||
|
Reference in New Issue
Block a user