mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
inert
This commit is contained in:
parent
8a8a0e462c
commit
8516a24f40
@ -694,7 +694,7 @@
|
||||
<ShowShortcuts onClose={() => (showShortcuts = !showShortcuts)} />
|
||||
{/if}
|
||||
|
||||
{#if assetStore.buckets.length > 0}
|
||||
{#if assetStore.buckets.length > 0 && !$showAssetViewer}
|
||||
<Scrubber
|
||||
{assetStore}
|
||||
height={assetStore.viewportHeight}
|
||||
@ -734,6 +734,7 @@
|
||||
bind:clientWidth={null, (v) => ((assetStore.viewportWidth = v), updateSlidingWindow())}
|
||||
bind:this={element}
|
||||
onscroll={() => (handleTimelineScroll(), updateSlidingWindow(), updateIsScrolling())}
|
||||
inert={$showAssetViewer}
|
||||
>
|
||||
<section
|
||||
bind:this={timelineElement}
|
||||
|
@ -447,6 +447,7 @@
|
||||
style:position="relative"
|
||||
style:height={assetLayouts.containerHeight + 'px'}
|
||||
style:width={assetLayouts.containerWidth - 1 + 'px'}
|
||||
inert={$isViewerOpen}
|
||||
>
|
||||
{#each assetLayouts.assetLayout as layout, index (layout.asset.id + '-' + index)}
|
||||
{@const asset = layout.asset}
|
||||
|
Loading…
x
Reference in New Issue
Block a user