From be6782d340ef96abe391683b20c51d6889080b53 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 7 Oct 2021 19:03:43 +0200 Subject: [PATCH] Info popups are now hidden from both the screensaver and media viewer. --- es-core/src/Window.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/es-core/src/Window.cpp b/es-core/src/Window.cpp index 2065a3ad2..0943e8f04 100644 --- a/es-core/src/Window.cpp +++ b/es-core/src/Window.cpp @@ -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;