aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/AudioBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-16 12:02:52 -0500
committerbobzel <zzzman@gmail.com>2020-12-16 12:02:52 -0500
commit0426828be40e077a2d5d30597076db53a26bb81f (patch)
tree208735868f37c041e3298a87eb1984633ea93738 /src/client/views/nodes/AudioBox.tsx
parentf54dd2851a1dd99157a4047d7d17d0c40178d30e (diff)
fixed treeView layouts to pass good values for panelWidth/height to DocumentView. renamed Selectionmanager methods to be views not documents.
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r--src/client/views/nodes/AudioBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 4b3c328b0..67d25e525 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -135,7 +135,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<FieldViewProps, AudioD
}, { fireImmediately: true });
// for play when link is selected
- this._disposers.reaction = reaction(() => SelectionManager.SelectedDocuments(),
+ this._disposers.reaction = reaction(() => SelectionManager.Views(),
selected => {
const sel = selected.length ? selected[0].props.Document : undefined;
let link;