From 5b4a156a0482e7391a905865fd278aa796e7f2a0 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 2f9225ed42..1e74b4ffbb 100644 --- a/apps/openmw/mwgui/mapwindow.cpp +++ b/apps/openmw/mwgui/mapwindow.cpp @@ -482,7 +482,7 @@ namespace MWGui } if (prevGrid.width() != mGrid.width() || prevGrid.height() != mGrid.height()) - setCanvasSize(mLocalMap, mGrid, 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.