fix: allow real-time playhead on ruler and cursor change

This commit is contained in:
Maze Winther
2025-07-11 00:48:17 +02:00
parent 3a241d9112
commit 4880e3b10c

View File

@ -901,10 +901,11 @@ export function Timeline() {
<ScrollArea className="w-full" ref={rulerScrollRef}>
<div
ref={rulerRef}
className="relative h-4 select-none cursor-pointer"
className="relative h-4 select-none cursor-default"
style={{
width: `${dynamicTimelineWidth}px`,
}}
onMouseDown={handleRulerMouseDown}
>
{/* Time markers */}
{(() => {