diff options
author | bobzel <zzzman@gmail.com> | 2021-03-29 12:22:35 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-29 12:22:35 -0400 |
commit | a1a9803096adde0cd932e703080948ef1d1724f7 (patch) | |
tree | 82cd4382cfb423a01cf61f04187e09451328ae00 /src/client/views/nodes/ScreenshotBox.tsx | |
parent | 317dd86ab8bad7afc927a1d6dc7e5d458bac4340 (diff) |
fixed doc decorations for dictation. gave dictation docs a title. minor cleanup.
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
-rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index aba7be68d..c00c79eb9 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -134,7 +134,7 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<FieldViewProps, S setupDictation = () => { if (this.dataDoc[this.fieldKey + "-dictation"]) return; - const dictationText = CurrentUserUtils.GetNewTextDoc("", + const dictationText = CurrentUserUtils.GetNewTextDoc("dictation", NumCast(this.rootDoc.x), NumCast(this.rootDoc.y) + NumCast(this.layoutDoc._height) + 10, NumCast(this.layoutDoc._width), 2 * NumCast(this.layoutDoc._height)); dictationText._autoHeight = false; |