diff options
author | bobzel <zzzman@gmail.com> | 2020-08-13 18:47:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-13 18:47:56 -0400 |
commit | ab500561d6924d867c828b6e407827b7d6b34278 (patch) | |
tree | 1b0603c8fcd2024dd8cc912abf50878d7cd18c8b /src/client/views/nodes/AudioBox.tsx | |
parent | a2a1f480a9af6cdf9863750df9314e29455cba60 (diff) | |
parent | 3debb7fedcd9c955ede46e57d4da182a5fa9acae (diff) |
Merge branch 'master' into schema_search
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r-- | src/client/views/nodes/AudioBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx index 289388320..900963eb0 100644 --- a/src/client/views/nodes/AudioBox.tsx +++ b/src/client/views/nodes/AudioBox.tsx @@ -85,6 +85,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<FieldViewProps, AudioD constructor(props: Readonly<FieldViewProps>) { super(props); + AudioBox.Instance = this; // onClick play scripts AudioBox.RangeScript = AudioBox.RangeScript || ScriptField.MakeScript(`scriptContext.playFrom((this.audioStart), (this.audioEnd))`, { scriptContext: "any" })!; |