diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-20 11:15:43 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-20 11:15:43 -0400 |
| commit | f62f4d92001e775b7248b7e786de733225e107b5 (patch) | |
| tree | 3c9fc9fe1409fbee0af5e5eb97621d272ff6d833 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | dedcb16fd7ae8211ca60bdf3630a0532525d3646 (diff) | |
added switching to low res version based on display size. fixed marqueeing on full size images, fixed bug with kvp pane and image sizing,
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 e904358a9..9721bf804 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -434,7 +434,7 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> { if (this._mainCont.current && this._mainCont.current.children) { let { scale, translateX, translateY } = Utils.GetScreenTransform(this._mainCont.current.children[0].firstChild as HTMLElement); scale = Utils.GetScreenTransform(this._mainCont.current).scale; - return CollectionDockingView.Instance.props.ScreenToLocalTransform().translate(-translateX, -translateY).scale(1 / scale); + return CollectionDockingView.Instance.props.ScreenToLocalTransform().translate(-translateX, -translateY).scale(1 / this.contentScaling() / scale); } return Transform.Identity(); } |
