diff options
| author | bob <bcz@cs.brown.edu> | 2019-08-19 12:11:47 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-08-19 12:11:47 -0400 |
| commit | 697ee484fc9d5db6cf61397451869b563e97206e (patch) | |
| tree | ee67345d7c56601c8ad2ba2be61de7885c71bb46 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | e37bf9124c952aa26c3e29deb9e4faa01cad1a7e (diff) | |
fixed imports to make presentation compile.
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 929cbf584..3fcc61b76 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -578,7 +578,7 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { } ScreenToLocalTransform = () => { - if (this._mainCont && this._mainCont!.children) { + if (this._mainCont && this._mainCont.children) { let { scale, translateX, translateY } = Utils.GetScreenTransform(this._mainCont.children[0].firstChild as HTMLElement); scale = Utils.GetScreenTransform(this._mainCont).scale; return CollectionDockingView.Instance.props.ScreenToLocalTransform().translate(-translateX, -translateY).scale(1 / this.contentScaling() / scale); |
