mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-21 09:23:07 +00:00
Properly update the map when changing the view distance
This commit is contained in:
parent
99dfd746f4
commit
ba2130b35d
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue