mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Fix pinned windows not being updated
This commit is contained in:
parent
49a0922f1b
commit
e4f0f7157a
@ -864,6 +864,14 @@ namespace MWGui
|
||||
for (WindowBase* window : state.mWindows)
|
||||
window->onFrame(frameDuration);
|
||||
}
|
||||
else
|
||||
{
|
||||
// update pinned windows if visible
|
||||
for (WindowBase* window : mGuiModeStates[GM_Inventory].mWindows)
|
||||
if (window->isVisible())
|
||||
window->onFrame(frameDuration);
|
||||
}
|
||||
|
||||
if (!mCurrentModals.empty())
|
||||
mCurrentModals.back()->onFrame(frameDuration);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user