diff options
| author | bob <bcz@cs.brown.edu> | 2019-02-19 11:33:26 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-02-19 11:33:26 -0500 |
| commit | c0d6dcb87743293fef10342c123c41390422595a (patch) | |
| tree | a6a4d290dff330855e9626e37fbd43a9ad592137 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 1f5cc996f5f64dc0e706a79ec3e0816fd9f895b1 (diff) | |
fixed selection problem
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 9cc92712e..47ed25fa3 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -238,7 +238,7 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { ScreenToLocalTransform={() => { let { scale, translateX, translateY } = Utils.GetScreenTransform(this._mainCont.current!); var props = this.props.CollectionDockingView ? this.props.CollectionDockingView.props : CollectionDockingView.Instance.props; - return props.ScreenToLocalTransform().translate(-translateX, -translateY).scale(scale) + return props.ScreenToLocalTransform().translate(-translateX, -translateY).scale(scale / this._parentScaling) }} isTopMost={true} ContainingCollectionView={this.props.CollectionDockingView} /> |
