diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-18 18:10:31 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-05-18 18:10:31 -0400 |
| commit | 20a1c2a1e59c02b29bbe744c57df6022952e2741 (patch) | |
| tree | 4e51f6dad2c7c8bd5e8fabea1b039347a0223549 /src/client/views/collections/collectionFreeForm | |
| parent | 8b647aec9184f92364d396d755f4b32bd47af67c (diff) | |
more debugging
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -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 63c090d84..264c89d67 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -138,7 +138,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { let y = this.Document.panY || 0; let docs = this.childDocs || []; let [dx, dy] = this.getTransform().transformDirection(e.clientX - this._lastX, e.clientY - this._lastY); - if (false && !this.isAnnotationOverlay) { + if (!this.isAnnotationOverlay) { let minx = docs.length ? NumCast(docs[0].x) : 0; let maxx = docs.length ? NumCast(docs[0].width) + minx : minx; let miny = docs.length ? NumCast(docs[0].y) : 0; |
