aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-08 20:08:14 -0400
committerbobzel <zzzman@gmail.com>2022-06-08 20:08:14 -0400
commit629302e544cc0a83fc73d217e081cf086a78a4b5 (patch)
treefaa8100e409f83a90828294fbf835ce493ee083e
parent94975954fbd1ce9b68f6545b16a4eabe4b41cca0 (diff)
fixed record() to trigger only once for audio
-rw-r--r--src/client/views/nodes/AudioBox.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 70d730ad1..ae04f0f00 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -653,7 +653,6 @@ export class AudioBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
ref={this.setupTimelineDrop}
className="audiobox-container"
onContextMenu={this.specificContextMenu}
- onPointerDown={!this.path && !this._recorder ? this.Record : undefined}
style={{ pointerEvents: this.layoutDoc._lockedPosition ? "none" : undefined }}
>
{!this.path ? this.recordingControls : this.playbackControls}