Merge pull request #287 from pjft/black-screensaver-fix

Fix for Video Screensaver not showing if menu is open
This commit is contained in:
Jools Wills 2017-11-07 13:21:42 +00:00 committed by GitHub
commit 72ce8485c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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