aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-04-03 22:05:11 -0400
committerGitHub <noreply@github.com>2020-04-03 22:05:11 -0400
commit5a49ff42f845239de72c4c31c4df0688313b30e7 (patch)
tree082ea03501aecc4f9ea3f68d3954ef9b2c6195a8 /src/client/views/DocumentDecorations.tsx
parenta0e4ae65f81c62ac08761359e60b996f0e839559 (diff)
parentfac740378a9eeaeb0af4567f6402120aba8bd62e (diff)
Merge pull request #350 from browngraphicslab/search_doc
Search doc
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 79600b7c1..c35263237 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -69,7 +69,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.Document.dontSelect ||
+ documentView.dontDecorateSelection ||
Doc.AreProtosEqual(documentView.props.Document, CurrentUserUtils.UserDocument)) {
return bounds;
}