fix comment for use-timeline-playhead hook
This commit is contained in:
parent
8bfc91e62e
commit
7cc3a907de
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue