From 7cc3a907dee4341c460eede0ac69822a0cdf2c92 Mon Sep 17 00:00:00 2001 From: gantiro Date: Tue, 15 Jul 2025 23:29:30 +0700 Subject: [PATCH] fix comment for use-timeline-playhead hook --- apps/web/src/hooks/use-timeline-playhead.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/hooks/use-timeline-playhead.ts b/apps/web/src/hooks/use-timeline-playhead.ts index de3f8ccf..1899d182 100644 --- a/apps/web/src/hooks/use-timeline-playhead.ts +++ b/apps/web/src/hooks/use-timeline-playhead.ts @@ -86,6 +86,7 @@ export function useTimelinePlayhead({ */ const handleRulerMouseDown = useCallback( (e: React.MouseEvent) => { + if (e.button !== 0) return; e.preventDefault(); const time = getTimeFromMouse(e); if (time === undefined) return;