mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue where system view videos were stopped instead of paused when navigating between systems.
This commit is contained in:
parent
4159fc8b9a
commit
e248299fb4
|
@ -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<int>(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
|
||||
|
|
Loading…
Reference in a new issue