diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-19 21:31:11 -0500 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-19 21:31:11 -0500 |
commit | 337c41ace806e841763d23a0a94e026508e69b41 (patch) | |
tree | 340e1b32dbc5637a24dd7c9e915966fb8d5a67d8 /src/client/views/DocumentDecorations.tsx | |
parent | b24f606727ef4696a2bad8bc5ebf9c7c8252c620 (diff) | |
parent | 813b5cbf0bb756bdb781707572622a57f8ec5d8a (diff) |
Merge branch 'server_database_merge' of github-tsch-brown:browngraphicslab/Dash-Web into server_database_merge
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 7985b77dd..770433e27 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -23,8 +23,7 @@ export class DocumentDecorations extends React.Component { @computed get Bounds(): { x: number, y: number, b: number, r: number } { return SelectionManager.SelectedDocuments().reduce((bounds, element) => { - if (element.props.ContainingCollectionView != undefined && - !(element.props.ContainingCollectionView instanceof CollectionFreeFormView)) { + if (element.props.isTopMost) { return bounds; } let transform = element.props.ScreenToLocalTransform().inverse(); |