Fixed an issue where the help system was rendered on top of the menus.

This commit is contained in:
Leon Styhre 2022-10-10 20:07:40 +02:00
parent 0232635504
commit 6af1f76be8

View file

@ -541,6 +541,9 @@ void Window::render()
} }
} }
if (!mRenderedHelpPrompts)
mHelp->render(trans);
if (!mRenderLaunchScreen) if (!mRenderLaunchScreen)
top->render(trans); top->render(trans);
} }
@ -568,9 +571,6 @@ void Window::render()
delete cache; delete cache;
} }
if (!mRenderedHelpPrompts)
mHelp->render(trans);
unsigned int screensaverTimer = unsigned int screensaverTimer =
static_cast<unsigned int>(Settings::getInstance()->getInt("ScreensaverTimer")); static_cast<unsigned int>(Settings::getInstance()->getInt("ScreensaverTimer"));
if (mTimeSinceLastInput >= screensaverTimer && screensaverTimer != 0) { if (mTimeSinceLastInput >= screensaverTimer && screensaverTimer != 0) {