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
1 changed files with 1 additions and 0 deletions

View File

@ -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;