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)} />
|
<ShowShortcuts onClose={() => (showShortcuts = !showShortcuts)} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if assetStore.buckets.length > 0}
|
{#if assetStore.buckets.length > 0 && !$showAssetViewer}
|
||||||
<Scrubber
|
<Scrubber
|
||||||
{assetStore}
|
{assetStore}
|
||||||
height={assetStore.viewportHeight}
|
height={assetStore.viewportHeight}
|
||||||
@ -734,6 +734,7 @@
|
|||||||
bind:clientWidth={null, (v) => ((assetStore.viewportWidth = v), updateSlidingWindow())}
|
bind:clientWidth={null, (v) => ((assetStore.viewportWidth = v), updateSlidingWindow())}
|
||||||
bind:this={element}
|
bind:this={element}
|
||||||
onscroll={() => (handleTimelineScroll(), updateSlidingWindow(), updateIsScrolling())}
|
onscroll={() => (handleTimelineScroll(), updateSlidingWindow(), updateIsScrolling())}
|
||||||
|
inert={$showAssetViewer}
|
||||||
>
|
>
|
||||||
<section
|
<section
|
||||||
bind:this={timelineElement}
|
bind:this={timelineElement}
|
||||||
|
@ -447,6 +447,7 @@
|
|||||||
style:position="relative"
|
style:position="relative"
|
||||||
style:height={assetLayouts.containerHeight + 'px'}
|
style:height={assetLayouts.containerHeight + 'px'}
|
||||||
style:width={assetLayouts.containerWidth - 1 + 'px'}
|
style:width={assetLayouts.containerWidth - 1 + 'px'}
|
||||||
|
inert={$isViewerOpen}
|
||||||
>
|
>
|
||||||
{#each assetLayouts.assetLayout as layout, index (layout.asset.id + '-' + index)}
|
{#each assetLayouts.assetLayout as layout, index (layout.asset.id + '-' + index)}
|
||||||
{@const asset = layout.asset}
|
{@const asset = layout.asset}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user