mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): memory pause autoplay when scrolling down (#2923)
This commit is contained in:
parent
6e62558d81
commit
b2dc7adf3b
@ -62,7 +62,7 @@
|
||||
$: paused ? pause() : play();
|
||||
|
||||
// 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.
|
||||
$: $progress === 1 && toNext();
|
||||
|
Loading…
x
Reference in New Issue
Block a user