From 2258825a73ae93eca140c6c87e604d801ee8a49e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 10 Oct 2020 14:17:05 +0200 Subject: [PATCH] Fixed an issue where videos would play during gamelist scrolling. --- es-app/src/views/gamelist/VideoGameListView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/es-app/src/views/gamelist/VideoGameListView.cpp b/es-app/src/views/gamelist/VideoGameListView.cpp index c646c2317..ad641883a 100644 --- a/es-app/src/views/gamelist/VideoGameListView.cpp +++ b/es-app/src/views/gamelist/VideoGameListView.cpp @@ -450,6 +450,11 @@ std::vector VideoGameListView::getMDValues() void VideoGameListView::update(int deltaTime) { + if (!mVideoPlaying) + mVideo->onHide(); + else + mVideo->onShow(); + BasicGameListView::update(deltaTime); mVideo->update(deltaTime); }