mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed an issue where videos would play during gamelist scrolling.
This commit is contained in:
parent
96da134f7d
commit
2258825a73
|
@ -450,6 +450,11 @@ std::vector<GuiComponent*> VideoGameListView::getMDValues()
|
||||||
|
|
||||||
void VideoGameListView::update(int deltaTime)
|
void VideoGameListView::update(int deltaTime)
|
||||||
{
|
{
|
||||||
|
if (!mVideoPlaying)
|
||||||
|
mVideo->onHide();
|
||||||
|
else
|
||||||
|
mVideo->onShow();
|
||||||
|
|
||||||
BasicGameListView::update(deltaTime);
|
BasicGameListView::update(deltaTime);
|
||||||
mVideo->update(deltaTime);
|
mVideo->update(deltaTime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue