diff options
author | bobzel <zzzman@gmail.com> | 2022-09-14 11:12:29 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-09-14 11:12:29 -0400 |
commit | 65026fdb919132f6046b45fc3b0490df2e5ad2fe (patch) | |
tree | 18c5261178ddbfca952056d37af29de38f033eea /src/client/views/DocumentDecorations.tsx | |
parent | d06a5b853557a5447ec308569443899c9064daf6 (diff) |
changed docking view thumbnails to be imagefields, not docs. allowed docking view to be nested to avoid crashes before when they became nested. fixed dropping docs with dropAction of 'alias' to never remove them. fixed clearing startLink to not deselect when link is already started
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 832d0a35c..0fc33bdea 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -189,7 +189,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P onCloseClick = (forceDeleteOrIconify: boolean | undefined) => { const views = SelectionManager.Views() .slice() - .filter(v => v); + .filter(v => v && v.props.renderDepth > 0); if (forceDeleteOrIconify === false && this._iconifyBatch) return; this._deleteAfterIconify = forceDeleteOrIconify || this._iconifyBatch ? true : false; if (!this._iconifyBatch) { |