From 78cdc492008dd41adf82c82ef7cc6af11cdfad33 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 15 Sep 2022 17:22:26 +0200 Subject: [PATCH] Fixed an issue where static images for video elements would sometimes not fade out during gamelist fast-scrolling. --- es-core/src/components/VideoComponent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/es-core/src/components/VideoComponent.cpp b/es-core/src/components/VideoComponent.cpp index 7a5d0f4cf..9d4fa6620 100644 --- a/es-core/src/components/VideoComponent.cpp +++ b/es-core/src/components/VideoComponent.cpp @@ -71,8 +71,7 @@ bool VideoComponent::setVideo(std::string path) return true; } - if (!mVideoPath.empty() || !mConfig.defaultVideoPath.empty() || - !mConfig.staticVideoPath.empty()) + if (!mVideoPath.empty() || !mConfig.staticVideoPath.empty()) mHasVideo = true; else mHasVideo = false;