diff options
author | bobzel <zzzman@gmail.com> | 2023-09-07 01:49:06 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-09-07 01:49:06 -0400 |
commit | 7a08e2b50696dd1063fa9ad323c8fca5c2fc5886 (patch) | |
tree | 6bb15295be61d60f8795e76e93a4b511e8eeaf08 /src/client/views/StyleProvider.tsx | |
parent | e847215964bc02cf402eace30d6c9e19f5f0f0cf (diff) |
hide schema chrome when chromeHidden is set. ignore showTitle in schemaView
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index cdf104a18..069bfd049 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -143,6 +143,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<DocumentViewProps case StyleProp.ShowTitle: return ( (doc && + !props?.LayoutTemplateString && !doc.presentation_targetDoc && !props?.LayoutTemplateString?.includes(KeyValueBox.name) && props?.layout_showTitle?.() !== '' && |