(isDragging || isHover) && handleMouseEvent({ clientY })} onmousedown={({ clientY }) => isHover && handleMouseEvent({ clientY, isDragging: true })} onmouseup={({ clientY }) => handleMouseEvent({ clientY, isDragging: false })} />
(isHover = true)} onmouseleave={() => (isHover = false)} > {#if hoverLabel && (isHover || isDragging)}
{hoverLabel}
{/if} {#if !isDragging}
{#if $isTimelineScrolling && scrubBucket?.bucketDate}

{assetStore.getBucketByDate(scrubBucket.bucketDate)?.bucketDateFormattted}

{/if}
{/if}
{#if relativeTopOffset > 6}
{/if}
{#each segments as segment}
{#if segment.hasLabel}
{segment.date.year}
{/if} {#if segment.hasDot}
{/if}
{/each}