diff options
| author | Hyteq <DerpsDer.es@gmail.com> | 2025-06-23 14:14:06 +0300 |
|---|---|---|
| committer | Hyteq <DerpsDer.es@gmail.com> | 2025-06-23 14:14:06 +0300 |
| commit | 3540226af59481aa304dadc041071b74ba7dbcf5 (patch) | |
| tree | 777b7ac12a231e47c9580e26182e1692d3b330e3 /apps/web/src/components | |
| parent | b7ccce954e82bb07891ebbb6d3bed557ea0a1a26 (diff) | |
| download | opencut-3540226af59481aa304dadc041071b74ba7dbcf5.tar.gz | |
fix: clips duplicating when moving them around
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index f6d9fdde..50a64dbb 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -903,6 +903,7 @@ function TimelineTrackContent({ const handleTrackDrop = (e: React.DragEvent) => {
e.preventDefault();
+ e.stopPropagation();
// Reset all drag states
dragCounterRef.current = 0;
@@ -985,7 +986,6 @@ function TimelineTrackContent({ updateClipStartTime(track.id, clipId, snappedTime);
} else {
// Moving to different track
- console.log('Moving clip from', fromTrackId, 'to', track.id);
moveClipToTrack(fromTrackId, track.id, clipId);
requestAnimationFrame(() => {
updateClipStartTime(track.id, clipId, snappedTime);
|
