diff options
author | bobzel <zzzman@gmail.com> | 2023-03-29 11:51:51 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-03-29 11:51:51 -0400 |
commit | 95c076b64a816c6bd503089f90234f8ce078eae8 (patch) | |
tree | 72c498e8ae8c32bbb458889a49cbd2e1d3d5da9f /src/client/views/nodes/DocumentLinksButton.tsx | |
parent | 1e73c1148cfbc2d395ddb6a7ad23aa3b643be85b (diff) |
fixed sizing of link count button. moved border paths and audio to style provider
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 a40599d85..d6679b46d 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -71,11 +71,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp e, this.onLinkButtonMoved, emptyFunction, - action((e, doubleTap) => { - if (doubleTap) { - DocumentView.showBackLinks(this.props.View.rootDoc); - } - }), + action((e, doubleTap) => doubleTap && DocumentView.showBackLinks(this.props.View.rootDoc)), undefined, undefined, action(() => (DocumentLinksButton.LinkEditorDocView = this.props.View)) |