diff options
| author | gantiro <gantiro396@gmail.com> | 2025-07-15 23:33:31 +0700 |
|---|---|---|
| committer | gantiro <gantiro396@gmail.com> | 2025-07-15 23:33:31 +0700 |
| commit | faf317cd20756b72974b67aaacab1ccf49ec8a86 (patch) | |
| tree | 48bd5752e2d4cf9f6c69353d420015504d49e8d4 /apps/web/src/hooks | |
| parent | 7cc3a907dee4341c460eede0ac69822a0cdf2c92 (diff) | |
| download | opencut-faf317cd20756b72974b67aaacab1ccf49ec8a86.tar.gz | |
fix comment remove check time
Diffstat (limited to 'apps/web/src/hooks')
| -rw-r--r-- | apps/web/src/hooks/use-timeline-playhead.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/web/src/hooks/use-timeline-playhead.ts b/apps/web/src/hooks/use-timeline-playhead.ts index 1899d182..9eb06485 100644 --- a/apps/web/src/hooks/use-timeline-playhead.ts +++ b/apps/web/src/hooks/use-timeline-playhead.ts @@ -89,7 +89,6 @@ export function useTimelinePlayhead({ if (e.button !== 0) return;
e.preventDefault();
const time = getTimeFromMouse(e);
- if (time === undefined) return;
isScrubbingRef.current = true;
scrubTimeRef.current = time;
|
