diff options
author | bobzel <zzzman@gmail.com> | 2020-10-16 02:02:10 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-16 02:02:10 -0400 |
commit | acccc301ed77d6ea15f025ff746138911b9f9c16 (patch) | |
tree | 78f42a080c24dda0702ac732bd7faf04c5eaf2ec /src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | |
parent | 67e3a220a622ff1a1a54f04df48d57c34a3a387d (diff) |
fixed RTF so that you can scroll smoothly in a presentation.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx index 0919b2b14..32038d1ee 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx @@ -260,7 +260,7 @@ export class FormattedTextBoxComment { const anchor = FieldValue(Doc.AreProtosEqual(FieldValue(Cast(linkDoc.anchor1, Doc)), textBox.dataDoc) ? Cast(linkDoc.anchor2, Doc) : (Cast(linkDoc.anchor1, Doc)) || linkDoc); const target = anchor?.annotationOn ? await DocCastAsync(anchor.annotationOn) : anchor; if (anchor !== target && anchor && target) { - target._scrollPY = NumCast(anchor?.y); + target._scrollPreviewY = NumCast(anchor?.y); } if (target?.author) { FormattedTextBoxComment.showCommentbox("", view, nbef); |