diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-06-17 15:47:17 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-06-17 15:47:17 -0400 |
commit | 615d988aa89e621714ab54d75c2775019f63876c (patch) | |
tree | 0cafe1bedb81d57f6c25cfbdd27a9a795cecd1ff /src/client/views/DocumentDecorations.tsx | |
parent | 2e6a3e1aa3fb5b82587a9c84aba8bccef96963d3 (diff) |
fixed doc decorations to work better with library tree view. made button bar opaque.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 6ca7331d6..9b3c16a59 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -70,6 +70,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> get Bounds(): { x: number, y: number, b: number, r: number } { return SelectionManager.SelectedDocuments().reduce((bounds, documentView) => { if (documentView.props.renderDepth === 0 || + documentView.props.treeViewId || Doc.AreProtosEqual(documentView.props.Document, Doc.UserDoc())) { return bounds; } |