mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
The media viewer now only stops info popups if there is actually any media to display
This commit is contained in:
parent
60f0f64b57
commit
7ab8b82bcc
|
@ -52,6 +52,8 @@ bool MediaViewer::startMediaViewer(FileData* game)
|
|||
if (!mHasVideo && !mHasImages)
|
||||
return false;
|
||||
|
||||
Window::getInstance()->stopInfoPopup();
|
||||
|
||||
HelpStyle style;
|
||||
style.font = Font::get(FONT_SIZE_MINI);
|
||||
style.origin = {0.5f, 0.5f};
|
||||
|
|
|
@ -894,7 +894,6 @@ void Window::renderScreensaver()
|
|||
void Window::startMediaViewer(FileData* game)
|
||||
{
|
||||
if (mMediaViewer) {
|
||||
stopInfoPopup();
|
||||
if (mMediaViewer->startMediaViewer(game)) {
|
||||
setAllowTextScrolling(false);
|
||||
setAllowFileAnimation(false);
|
||||
|
|
Loading…
Reference in a new issue