fix(web): memory pause autoplay when scrolling down (#2923)

pull/2934/head
Alex 2023-06-23 11:13:05 +07:00 committed by GitHub
parent 6e62558d81
commit b2dc7adf3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -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();