aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-24 10:45:37 -0500
committerbobzel <zzzman@gmail.com>2021-02-24 10:45:37 -0500
commit477fa6b85e24046edbebc44b49aba8c286558cd0 (patch)
treefe159492e26fe87f5bb18cb0a2d8ca8b2b249a24 /src/client/views/nodes/formattedText/FormattedTextBox.tsx
parent667e0a8cfc12a86e953f0382a36254ff9afbdcf3 (diff)
fixed carouself view which wasn't displaying vertically oriented documents. cleaned up collectionTime script to not capture variables (causing doc's to be create)
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
index da7ed9ac7..ce54bf57f 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -109,9 +109,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp
private _ignoreScroll = false;
@computed get _recording() { return this.dataDoc?.audioState === "recording"; }
- set _recording(value) {
- this.dataDoc.audioState = value ? "recording" : undefined;
- }
+ set _recording(value) { this.dataDoc.audioState = value ? "recording" : undefined; }
public static FocusedBox: FormattedTextBox | undefined;
public static SelectOnLoad = "";