diff options
| author | Simon Orzel <simonorzel@gmail.com> | 2025-07-17 02:53:25 +0200 |
|---|---|---|
| committer | Simon Orzel <simonorzel@gmail.com> | 2025-07-17 02:53:25 +0200 |
| commit | 1505c1b12f516c65b6a3d076f0e9623a294031d6 (patch) | |
| tree | 3bf87f9358e24fcec719dd07c8975fb41f33aac4 /apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx | |
| parent | 98b2103286f04d67db1d57f9e3330efa5d41fdb7 (diff) | |
| download | opencut-1505c1b12f516c65b6a3d076f0e9623a294031d6.tar.gz | |
feat: timeline changes
Diffstat (limited to 'apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx')
| -rw-r--r-- | apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx b/apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx index 430d65ae..417cbbe8 100644 --- a/apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx +++ b/apps/web/src/components/editor/timeline/timeline-wheel-handler.tsx @@ -11,17 +11,14 @@ export function useTimelineWheelHandler({ isInTimeline, handleWheel, }: TimelineWheelHandlerProps) { - // Add wheel event listeners with passive: false to allow preventDefault useEffect(() => { const timelineContainer = timelineRef.current; if (!timelineContainer || !isInTimeline) return; const handleWheelCapture = (e: WheelEvent) => { - // Call the existing handleWheel function handleWheel(e as any); }; - // Add wheel event listener with passive: false to allow preventDefault timelineContainer.addEventListener("wheel", handleWheelCapture, { passive: false }); return () => { |
