mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Merge pull request #287 from pjft/black-screensaver-fix
Fix for Video Screensaver not showing if menu is open
This commit is contained in:
commit
72ce8485c2
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue