diff options
author | bobzel <zzzman@gmail.com> | 2021-04-08 11:56:35 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-04-08 11:56:35 -0400 |
commit | 99c045f67aa171b43acc60b4ac3cdf7c1b02ca0a (patch) | |
tree | 0b4c934d2c59e4306ace0085556c30d8dbb29985 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 797ebbe8a82c54104a96c6e570310fb1d02da69c (diff) | |
parent | d0b37d7b5a8749cb6157d938ff576c7714c8ce0b (diff) |
Merge branch 'master' into filters
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 208accfc7..9482b632a 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -669,7 +669,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp if (this._break) { const textanchor = Docs.Create.TextanchorDocument({ title: "dictation anchor" }); this.addDocument(textanchor); - const link = DocUtils.MakeLinkToActiveAudio(textanchor, false).lastElement(); + const link = DocUtils.MakeLinkToActiveAudio(() => textanchor, false).lastElement(); link && (Doc.GetProto(link).isDictation = true); if (!link) return; const audioanchor = Cast(link.anchor2, Doc, null); |