aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-18 17:15:16 -0400
committerbobzel <zzzman@gmail.com>2020-09-18 17:15:16 -0400
commit4c803b17b2a7ddc74173bc93df86786484fbb546 (patch)
treef6ee866f05a7ca7849923dd7aa32fc1aca82aaa7
parentfeebbe1a82e3dcff22502f635b67df55c90502b3 (diff)
from last
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index ff5c4d1e9..396e1d526 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -895,7 +895,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
@computed get showOverlappingTitle() {
const excluded = ["PresBox", /* "FormattedTextBox", */ "FontIconBox"]; // bcz: shifting the title for texst causes problems with collaborative use when some people see titles, and others don't
- return this.ShowTitle && !excluded.includes(StrCast(this.layoutDoc.layout)) ? this.ShowTitle : undefined;
+ return !excluded.includes(StrCast(this.layoutDoc.layout));
}
chromeHeight = () => this.showOverlappingTitle ? 1 : 25;