aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/AudioBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-23 22:01:00 -0400
committerbobzel <zzzman@gmail.com>2021-09-23 22:01:00 -0400
commitd788f0fbafbf0270ea801eed14cc0996e1d6d7ab (patch)
treef9c269c6c720ebeb61d649c369a40b75e7ce8815 /src/client/views/nodes/AudioBox.tsx
parent676cc1ef15653590eecf7f588fe02dd7d75863cc (diff)
renamed props for stackedTimeline
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r--src/client/views/nodes/AudioBox.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 918933194..f6d6ff440 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -546,6 +546,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<
timelineWidth = () => this.props.PanelWidth() - AudioBox.playheadWidth;
trimEndFunc = () => this.trimEnd;
trimStartFunc = () => this.trimStart;
+ trimDurationFunc = () => this.trimDuration;
@computed get renderTimeline() {
return (
<CollectionStackedTimeline
@@ -560,8 +561,6 @@ export class AudioBox extends ViewBoxAnnotatableComponent<
focus={DocUtils.DefaultFocus}
bringToFront={emptyFunction}
CollectionView={undefined}
- rawDuration={this.rawDuration}
- duration={this.duration}
playFrom={this.playFrom}
setTime={this.setAnchorTime}
playing={this.playing}
@@ -577,12 +576,14 @@ export class AudioBox extends ViewBoxAnnotatableComponent<
playLink={this.playLink}
PanelWidth={this.timelineWidth}
PanelHeight={this.timelineHeight}
+ rawDuration={this.rawDuration}
clipStart={this.clipStart}
clipEnd={this.clipEnd}
+ clipDuration={this.duration}
trimming={this._trimming}
trimStart={this.trimStartFunc}
trimEnd={this.trimEndFunc}
- trimDuration={this.trimDuration}
+ trimDuration={this.trimDurationFunc}
setStartTrim={this.setStartTrim}
setEndTrim={this.setEndTrim}
/>