fix comment for use-timeline-playhead hook

This commit is contained in:
gantiro
2025-07-15 23:29:30 +07:00
parent 8bfc91e62e
commit 7cc3a907de
@@ -86,6 +86,7 @@ export function useTimelinePlayhead({
*/ */
const handleRulerMouseDown = useCallback( const handleRulerMouseDown = useCallback(
(e: React.MouseEvent) => { (e: React.MouseEvent) => {
if (e.button !== 0) return;
e.preventDefault(); e.preventDefault();
const time = getTimeFromMouse(e); const time = getTimeFromMouse(e);
if (time === undefined) return; if (time === undefined) return;