mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 03:45:35 +00:00
Fix global map arrow/button not showing for a split second when the window is opened for the first time
This commit is contained in:
parent
aaa727757d
commit
f004622530
1 changed files with 3 additions and 0 deletions
|
@ -1002,6 +1002,9 @@ namespace MWGui
|
|||
mGlobalMapOverlayTexture.reset(new osgMyGUI::OSGTexture(mGlobalMapRender->getOverlayTexture()));
|
||||
mGlobalMapOverlay->setRenderItemTexture(mGlobalMapOverlayTexture.get());
|
||||
mGlobalMapOverlay->getSubWidgetMain()->_setUVSet(MyGUI::FloatRect(0.f, 0.f, 1.f, 1.f));
|
||||
|
||||
// Redraw children in proper order
|
||||
mGlobalMap->getParent()->_updateChilds();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue