mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: allow real-time playhead on ruler and cursor change
This commit is contained in:
@@ -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 */}
|
||||
{(() => {
|
||||
|
||||
Reference in New Issue
Block a user