mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
Fixed an issue where the help system was rendered on top of the menus.
This commit is contained in:
parent
0232635504
commit
6af1f76be8
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue