From e248299fb47e1748b1a2cf78d003304caeceb4a6 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 21 Feb 2023 18:47:05 +0100 Subject: [PATCH] Fixed an issue where system view videos were stopped instead of paused when navigating between systems. --- es-app/src/views/SystemView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index 3fcb9476e..b2c2cb753 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -56,6 +56,7 @@ SystemView::~SystemView() void SystemView::onShow() { finishAnimation(0); + stopViewVideos(); mFadeOpacity = 0.0f; mTransitionAnim = false; } @@ -274,7 +275,7 @@ void SystemView::onCursorChanged(const CursorState& state) if (mLastCursor >= 0 && mLastCursor <= static_cast(mSystemElements.size())) { for (auto& video : mSystemElements[mLastCursor].videoComponents) - video->stopVideoPlayer(); + video->pauseVideoPlayer(); } // This is needed to avoid erratic camera movements during extreme navigation input when using