diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-10 15:18:12 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-10 15:18:12 -0400 |
| commit | 1c660a6e768cea8d5e162be8082659743792cc3d (patch) | |
| tree | ea94bdf40585c3d1b14e998b03aed7322e8b07e4 /src/client/views/collections | |
| parent | d4326a225f3e801c98e4acdc6558af1c3fe6ae07 (diff) | |
| parent | b03261853e191d4f70dd9d3fc70706f399533066 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 102455d27..db8c370df 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -313,7 +313,7 @@ export class CollectionFreeFormView extends CollectionSubView { const pany: number = -this.props.Document.GetNumber(KeyStore.PanY, 0); return ( - <Measure onResize={(r: any) => runInAction(() => { this._pwidth = r.entry.width; this._pheight = r.entry.height })}> + <Measure onResize={(r: any) => runInAction(() => { this._pwidth = r.entry.width; this._pheight = r.entry.height; })}> {({ measureRef }) => ( <div className={`collectionfreeformview-measure`} ref={measureRef}> <div className={`collectionfreeformview${this.isAnnotationOverlay ? "-overlay" : "-container"}`} |
