diff options
author | bobzel <zzzman@gmail.com> | 2020-08-20 09:17:51 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-20 09:17:51 -0400 |
commit | 94b1a9f9b0c27c3821724f13bd3df13754deaddd (patch) | |
tree | 855172dff8ab80e553f981cc2938854989be9fab | |
parent | 1c5d2738132b147a4c1785e2e926ce1b05a0b019 (diff) |
fixed link popup location
-rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index 70e7d8311..429bc27ad 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -262,7 +262,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp border: DocumentLinksButton.StartLink ? "" : "none" }} onPointerDown={DocumentLinksButton.StartLink ? this.completeLink : emptyFunction} - onClick={e => DocumentLinksButton.StartLink ? DocumentLinksButton.finishLinkClick(e.screenX, e.screenY, DocumentLinksButton.StartLink, this.props.View.props.Document, true, this.props.View) : emptyFunction} /> : (null) + onClick={e => DocumentLinksButton.StartLink ? DocumentLinksButton.finishLinkClick(e.clientX, e.clientY, DocumentLinksButton.StartLink, this.props.View.props.Document, true, this.props.View) : emptyFunction} /> : (null) } { DocumentLinksButton.StartLink === this.props.View.props.Document && this.props.InMenu && this.props.StartLink ? <div className={"documentLinksButton-startLink"} |