From a94e45260ef51de473673b37804c806c7b30680d Mon Sep 17 00:00:00 2001 From: DeclanE <160616898+declan8010@users.noreply.github.com> Date: Tue, 12 Mar 2024 03:36:34 +0000 Subject: [PATCH] fix: Hide play bar when there's only one image in memory (#7764) * fix: Hide play bar when there's only one image in memory This commit introduces a fixto hide the play bar at the top of the memory viewer when there's only one image in the memory. Previously, the play bar was displayed regardless of the number of images, leading to unnecessary UI elements for single-image memories. * Update web/src/lib/components/memory-page/memory-viewer.svelte Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Co-authored-by: Alex Tran --- web/src/lib/components/memory-page/memory-viewer.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/lib/components/memory-page/memory-viewer.svelte b/web/src/lib/components/memory-page/memory-viewer.svelte index 7b6bd4aae3..0ed5838781 100644 --- a/web/src/lib/components/memory-page/memory-viewer.svelte +++ b/web/src/lib/components/memory-page/memory-viewer.svelte @@ -112,7 +112,7 @@

- {#if !galleryInView} + {#if canGoForward}
(paused = !paused)} /> @@ -268,7 +268,7 @@
- +