From ba2130b35d7736b1805a122bc9263187aaaa3782 Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Thu, 11 Sep 2025 19:15:25 +0200 Subject: [PATCH] Properly update the map when changing the view distance --- apps/openmw/mwgui/mapwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/mapwindow.cpp b/apps/openmw/mwgui/mapwindow.cpp index 6bd05f9af9..637cb7e343 100644 --- a/apps/openmw/mwgui/mapwindow.cpp +++ b/apps/openmw/mwgui/mapwindow.cpp @@ -483,7 +483,7 @@ namespace MWGui } if (prevGrid.width() != mGrid.width() || prevGrid.height() != mGrid.height()) - setCanvasSize(mLocalMap, mGrid, static_cast(getWidgetSize())); + updateLocalMap(); // Delay the door markers update until scripts have been given a chance to run. // If we don't do this, door markers that should be disabled will still appear on the map.