diff options
| author | Michael <michael.foiani@gmail.com> | 2022-06-10 15:41:38 -0400 |
|---|---|---|
| committer | Michael <michael.foiani@gmail.com> | 2022-06-10 15:41:38 -0400 |
| commit | 1688af3de54419029773fb85b78bca4500f7f0de (patch) | |
| tree | 73e777815eb2c6e91e0adb3c4702bb7ef2f7178d /src/client/views/nodes/RecordingBox/ProgressBar.tsx | |
| parent | 3627d2597ffb52f00c3b82456b1b6693006c93fa (diff) | |
big bug problems with recording. some reason interacting with the canvas is making the recording inactive - i think :/
Diffstat (limited to 'src/client/views/nodes/RecordingBox/ProgressBar.tsx')
| -rw-r--r-- | src/client/views/nodes/RecordingBox/ProgressBar.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/nodes/RecordingBox/ProgressBar.tsx b/src/client/views/nodes/RecordingBox/ProgressBar.tsx index 493069394..1bb2b7c84 100644 --- a/src/client/views/nodes/RecordingBox/ProgressBar.tsx +++ b/src/client/views/nodes/RecordingBox/ProgressBar.tsx @@ -161,12 +161,12 @@ export function ProgressBar(props: ProgressBarProps) { } // pointerdown event for the progress bar - const onPointerDown = (e: React.PointerEvent<HTMLDivElement>) => { - // don't move the videobox element - e.stopPropagation() + const onPointerDown = (e: React.PointerEvent<HTMLDivElement>) => { + // don't move the videobox element + e.stopPropagation(); // if recording, do nothing - if (props.recording) return; + if (props.recording) return; // get the segment the user clicked on to be dragged const clickedSegment = e.target as HTMLDivElement & EventTarget |
