Fix for Video Screensaver not showing if menu is open

This commit is contained in:
pjft 2017-11-05 09:37:41 +00:00
parent d53fdd3420
commit d25e3b41ea

View file

@ -98,6 +98,7 @@ void SystemScreenSaver::startScreenSaver()
mVideoScreensaver = new VideoVlcComponent(mWindow, getTitlePath()); mVideoScreensaver = new VideoVlcComponent(mWindow, getTitlePath());
#endif #endif
mVideoScreensaver->topWindow(true);
mVideoScreensaver->setOrigin(0.5f, 0.5f); mVideoScreensaver->setOrigin(0.5f, 0.5f);
mVideoScreensaver->setPosition(Renderer::getScreenWidth() / 2.0f, Renderer::getScreenHeight() / 2.0f); mVideoScreensaver->setPosition(Renderer::getScreenWidth() / 2.0f, Renderer::getScreenHeight() / 2.0f);