aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-07-25 14:57:41 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-07-25 14:57:41 -0400
commitc841982c0de733b49f22a6e0d04427c166aabcf1 (patch)
tree24ffff28ec0d29e014e9a4b2e1f97ac0b4c39a08 /src/client/views/nodes/DocumentView.tsx
parent99e0b01dbe41e56cfdb748b53f03fe71d73a80b7 (diff)
added ability to resize fixed aspect docusments with ctrlKey. added menu item to hide linkButton
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index a56943f6f..8cadafccd 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -758,6 +758,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
const appearance = cm.findByDescription("Appearance...");
const appearanceItems: ContextMenuProps[] = appearance && "subitems" in appearance ? appearance.subitems : [];
templateDoc && appearanceItems.push({ description: "Open Template ", event: () => this.props.addDocTab(templateDoc, "onRight"), icon: "eye" });
+ appearanceItems.push({ description: `${this.layoutDoc.hideLinkButton ? "Show" : "Hide"} Link Button`, event: action(() => this.layoutDoc.hideLinkButton = !this.layoutDoc.hideLinkButton), icon: "eye" });
!appearance && cm.addItem({ description: "Appearance...", subitems: appearanceItems, icon: "compass" });
const options = cm.findByDescription("Options...");