diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-01-18 14:33:26 -0500 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-01-18 14:33:26 -0500 |
commit | 286673d88a412432bc3555769c223f7c3db6ff5c (patch) | |
tree | 8938245fd370bd64debfbbaa5bdf9a3f02b2cba3 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 39e8bd2671d70e1e8fd708c5210120a9d09b64fa (diff) | |
parent | c94a8d93ea7373af54355b5c47bf14a021cf4563 (diff) |
merged
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 2b9910dfb..c129d0204 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -320,12 +320,11 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp DocListCast(this.dataDoc.links).map((l, i) => { let la1 = l.anchor1 as Doc; let la2 = l.anchor2 as Doc; - this._linkTime = NumCast(l.anchor2_timecode); + this._linkTime = NumCast(la1.audioStart, NumCast(la2.audioStart)); audioState = la2.audioState; if (Doc.AreProtosEqual(la2, this.dataDoc)) { la1 = l.anchor2 as Doc; la2 = l.anchor1 as Doc; - this._linkTime = NumCast(l.anchor1_timecode); audioState = la1.audioState; } }); |