mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(web): memory pause autoplay when scrolling down (#2923)
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
$: paused ? pause() : play();
|
$: paused ? pause() : play();
|
||||||
|
|
||||||
// Progress should be paused when it's no longer possible to advance.
|
// Progress should be paused when it's no longer possible to advance.
|
||||||
$: paused ||= !canGoForward;
|
$: paused ||= !canGoForward || galleryInView;
|
||||||
|
|
||||||
// Advance to the next asset or memory when progress is complete.
|
// Advance to the next asset or memory when progress is complete.
|
||||||
$: $progress === 1 && toNext();
|
$: $progress === 1 && toNext();
|
||||||
|
|||||||
Reference in New Issue
Block a user