diff options
author | bobzel <zzzman@gmail.com> | 2020-10-08 13:32:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-10-08 13:32:27 -0400 |
commit | 4148b34504b51fade019389d7592cf825ddc0fa9 (patch) | |
tree | fda312644c1d046c0f1392cf4927242380ea27e1 /src/client/views/nodes/LinkDocPreview.tsx | |
parent | f6623a790fbb5df02effebbe9edea69383e0569f (diff) |
fixes for getting pdfs and previews to scroll properly
Diffstat (limited to 'src/client/views/nodes/LinkDocPreview.tsx')
-rw-r--r-- | src/client/views/nodes/LinkDocPreview.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkDocPreview.tsx b/src/client/views/nodes/LinkDocPreview.tsx index d14157c09..8f9cb5b0e 100644 --- a/src/client/views/nodes/LinkDocPreview.tsx +++ b/src/client/views/nodes/LinkDocPreview.tsx @@ -64,7 +64,7 @@ export class LinkDocPreview extends React.Component<Props> { this._toolTipText = ""; LinkDocPreview.TargetDoc = this._targetDoc = target; if (anchor !== this._targetDoc && anchor && this._targetDoc) { - this._targetDoc._scrollY = NumCast(anchor?.y); + this._targetDoc._scrollPY = NumCast(anchor?.y); } }); } |