diff options
author | bobzel <zzzman@gmail.com> | 2021-03-11 13:59:54 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-11 13:59:54 -0500 |
commit | 61deb85209901707dda51413f975ba09e835a1e9 (patch) | |
tree | e268bdb7f69994149813bda305dbb6be509a7334 /src/client/views/nodes/DocumentLinksButton.tsx | |
parent | 1c562c545580f473f9f8a5113914290cd2590b0c (diff) |
added optional stacking sidebar for PDFs. fixed pdfannos to not show linkbutton when selected. fixed stacking views to handle fitwidth text better (make height fit correctly when fitWidth)
Diffstat (limited to 'src/client/views/nodes/DocumentLinksButton.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index d62061aea..6f102213b 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -276,7 +276,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp </div >; } - @computed get linkButton() { + render() { TraceMobx(); const menuTitle = this.props.StartLink ? "Drag or tap to start link" : "Tap to complete link"; @@ -295,8 +295,4 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp </Tooltip> : this.linkButtonInner; } - - render() { - return this.linkButton; - } } |