From 4fcb0b69f2b96c5ace46362490d54f1059eb1339 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 22 Feb 2021 16:09:21 -0500 Subject: switched folders so that they're not marked as system anymore. made close menu appear unless something is a system doc. --- src/client/views/nodes/DocumentView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 97dc922db..b79c1d474 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -446,7 +446,7 @@ export class DocumentViewInternal extends DocComponent func().result?.select === true ? this.props.select(false) : "", "on double click"); - } else if (!Doc.IsSystem(this.props.Document)) { + } else if (!Doc.IsSystem(this.rootDoc)) { if (this.props.Document.type !== DocumentType.LABEL) { UndoManager.RunInBatch(() => this.props.addDocTab((this.rootDoc._fullScreenView as Doc) || this.rootDoc, "lightbox"), "double tap"); SelectionManager.DeselectAll(); @@ -729,7 +729,7 @@ export class DocumentViewInternal extends DocComponent