mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 15:15:37 +00:00
Info popups are now hidden from both the screensaver and media viewer.
This commit is contained in:
parent
087cde4700
commit
be6782d340
|
@ -563,13 +563,13 @@ void Window::render()
|
|||
startScreensaver();
|
||||
}
|
||||
|
||||
if (mInfoPopup)
|
||||
mInfoPopup->render(trans);
|
||||
|
||||
// Always call the screensaver render function regardless of whether the screensaver is active
|
||||
// or not because it may perform a fade on transition.
|
||||
renderScreensaver();
|
||||
|
||||
if (!mRenderScreensaver && mInfoPopup)
|
||||
mInfoPopup->render(trans);
|
||||
|
||||
if (mTimeSinceLastInput >= screensaverTimer && screensaverTimer != 0) {
|
||||
if (!isProcessing() && mAllowSleep && (!mScreensaver)) {
|
||||
// Go to sleep.
|
||||
|
@ -724,7 +724,6 @@ void Window::startScreensaver()
|
|||
for (auto it = mGuiStack.cbegin(); it != mGuiStack.cend(); it++)
|
||||
(*it)->onScreensaverActivate();
|
||||
|
||||
stopInfoPopup();
|
||||
setAllowTextScrolling(false);
|
||||
mScreensaver->startScreensaver(true);
|
||||
mRenderScreensaver = true;
|
||||
|
|
Loading…
Reference in a new issue