aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ScreenshotBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-24 03:50:41 -0400
committerbobzel <zzzman@gmail.com>2021-03-24 03:50:41 -0400
commit8f8a12f6e81482d6cbc4789c3b7f74015f33f423 (patch)
treed4c04e95018c1cc1fa4ae66b2b568742d00ae3e9 /src/client/views/nodes/ScreenshotBox.tsx
parentccdef5784dd963b71f493116d87786c0b0a787d2 (diff)
fixes for audiotags so that they can be navigated to when focusing. fixes to dictation to start/stop properly. added "RecodingEvents" to trigger dictation waypoints.
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
-rw-r--r--src/client/views/nodes/ScreenshotBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx
index a481cbbc5..8e1a43fd1 100644
--- a/src/client/views/nodes/ScreenshotBox.tsx
+++ b/src/client/views/nodes/ScreenshotBox.tsx
@@ -218,7 +218,7 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<FieldViewProps, S
dictationTextProto.recordingSource = this.dataDoc;
dictationTextProto.recordingStart = ComputedField.MakeFunction(`self.recordingSource["${this.props.fieldKey}-recordingStart"]`);
dictationTextProto.audioState = ComputedField.MakeFunction("self.recordingSource.audioState");
- this.props.addDocument?.(dictationText);
+ this.props.addDocument?.(dictationText) || this.props.addDocTab(dictationText, "add:bottom");
return dictationText;
}