mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-21 19:04:42 -04:00
Properly update the map when changing the view distance
This commit is contained in:
parent
423261b721
commit
5b4a156a04
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user