diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-16 10:27:19 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-16 10:27:19 -0400 |
| commit | 33c7af8d3e09e5add3ae56d5c7a697acee4104c3 (patch) | |
| tree | d68a4814a38e015a917a5ae3a26caa9e00bfdcbb /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 6e767972574c9cd8a2cd1e10a8fa327839ca3525 (diff) | |
running into performance problems. fixed some things about summaries.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index b8bed795d..6e4c79e62 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -134,8 +134,8 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { @action onPointerMove = (e: PointerEvent): void => { if (!e.cancelBubble) { - let x = this.props.Document.panX || 0; - let y = this.props.Document.panY || 0; + let x = this.Document.panX || 0; + let y = this.Document.panY || 0; let docs = this.children || []; let [dx, dy] = this.getTransform().transformDirection(e.clientX - this._lastX, e.clientY - this._lastY); if (!this.isAnnotationOverlay) { |
