From 669a7a9a10e25c9a6223961db5129e03b3fb935d Mon Sep 17 00:00:00 2001 From: CJPeckover Date: Tue, 16 Sep 2025 13:00:41 -0400 Subject: [PATCH] - ensure gallery viewer has view icon - ensure view icon is above video thumbnail --- .../assets/thumbnail/thumbnail.svelte | 26 +++++++++---------- .../gallery-viewer/gallery-viewer.svelte | 5 ++-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/web/src/lib/components/assets/thumbnail/thumbnail.svelte b/web/src/lib/components/assets/thumbnail/thumbnail.svelte index bc0f2567e7..8e13e4b23e 100644 --- a/web/src/lib/components/assets/thumbnail/thumbnail.svelte +++ b/web/src/lib/components/assets/thumbnail/thumbnail.svelte @@ -319,19 +319,6 @@ {/if} - - {#if mouseOver && selectionActive} - - {/if} - {/if} + + {#if mouseOver && selectionActive} + + {/if} + {#if (!loaded || thumbError) && asset.thumbhash} { - if (assetInteraction.selectionActive) { + onClick={(asset, forceView: boolean = false) => { + if (assetInteraction.selectionActive && !forceView) { handleSelectAssets(toTimelineAsset(currentAsset)); return; } @@ -507,6 +507,7 @@ asset={toTimelineAsset(currentAsset)} selected={assetInteraction.hasSelectedAsset(currentAsset.id)} selectionCandidate={assetInteraction.hasSelectionCandidate(currentAsset.id)} + selectionActive={assetInteraction.selectionActive} thumbnailWidth={layout.width} thumbnailHeight={layout.height} />