1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-21 05:53:07 +00:00

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 99dfd746f4
commit ba2130b35d

View file

@ -483,7 +483,7 @@ namespace MWGui
}
if (prevGrid.width() != mGrid.width() || prevGrid.height() != mGrid.height())
setCanvasSize(mLocalMap, mGrid, static_cast<int>(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.