diff options
| author | bobzel <zzzman@gmail.com> | 2025-06-01 16:07:30 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-06-01 16:07:30 -0400 |
| commit | 215f874c5f7f28964a3428909fcee0f667388bae (patch) | |
| tree | e9881d33b845032725e75cdf880d4637507e9a32 /src/client/views/collections | |
| parent | 451891b0e34c84873ccc89dde55442bb9bf23f3d (diff) | |
a number of fixes to document creator to fix preview of templates and templates with images.
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index c4373aaa7..897a86e7f 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -584,9 +584,7 @@ export class TabDocView extends ObservableReactComponent<TabDocViewProps> { miniMapColor = () => Colors.MEDIUM_GRAY; tabView = () => this._view; disableMinimap = () => !this._document; - whenChildContentActiveChanges = (isActive: boolean) => { - this._isAnyChildContentActive = isActive; - }; + whenChildContentActiveChanges = (isActive: boolean) => (this._isAnyChildContentActive = isActive); isContentActiveFunc = () => this.isContentActive; waitForDoubleClick = () => (SnappingManager.ExploreMode ? 'never' : undefined); renderDocView = (doc: Doc) => ( |
