This commit is contained in:
Min Idzelis 2025-05-04 23:40:38 +00:00
parent 8a8a0e462c
commit 8516a24f40
2 changed files with 3 additions and 1 deletions

View File

@ -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}

View File

@ -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}