From 72f2f3d3a428c54a368730e999b70f1a06eb2092 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 15 Jan 2024 22:24:32 +0000 Subject: [PATCH] Fix: NWidgetParts must use unscaled dimensions. --- src/league_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/league_gui.cpp b/src/league_gui.cpp index 500ccce085..3faadad0c9 100644 --- a/src/league_gui.cpp +++ b/src/league_gui.cpp @@ -426,7 +426,7 @@ static const NWidgetPart _nested_script_league_widgets[] = { NWidget(WWT_SHADEBOX, COLOUR_BROWN), NWidget(WWT_STICKYBOX, COLOUR_BROWN), EndContainer(), - NWidget(WWT_PANEL, COLOUR_BROWN, WID_SLT_BACKGROUND), SetMinimalSize(400, 0), SetMinimalTextLines(15, WidgetDimensions::scaled.framerect.Vertical()), + NWidget(WWT_PANEL, COLOUR_BROWN, WID_SLT_BACKGROUND), SetMinimalSize(400, 0), SetMinimalTextLines(15, WidgetDimensions::unscaled.framerect.Vertical()), EndContainer(), };