Properly update the map when changing the view distance

This commit is contained in:
Evil Eye 2025-09-11 19:15:25 +02:00
parent 423261b721
commit 5b4a156a04

View File

@ -482,7 +482,7 @@ namespace MWGui
} }
if (prevGrid.width() != mGrid.width() || prevGrid.height() != mGrid.height()) 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. // 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. // If we don't do this, door markers that should be disabled will still appear on the map.