Fixed an issue where manually starting the screensaver would not prevent file animations from playing.

This commit is contained in:
Leon Styhre 2022-10-27 21:34:32 +02:00
parent c96696fb96
commit ab11f36ece

View file

@ -867,8 +867,10 @@ bool ViewController::input(InputConfig* config, Input input)
return true;
}
mWindow->setAllowTextScrolling(true);
mWindow->setAllowFileAnimation(true);
if (!mWindow->isScreensaverActive()) {
mWindow->setAllowTextScrolling(true);
mWindow->setAllowFileAnimation(true);
}
// Check if UI mode has changed due to passphrase completion.
if (UIModeController::getInstance()->listen(config, input))