diff options
| author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-07-09 17:00:12 -0500 |
|---|---|---|
| committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-07-09 17:00:12 -0500 |
| commit | 3d0c64cf9979f739177b0efd9970ad0e0a9fa3d0 (patch) | |
| tree | 47ec8c2d83b00cffbc5b3056db6f35ac95065153 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 813f435bae9b00da50e806b2073bf2875cafb9d5 (diff) | |
small changes
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 965bfdf24..9d79c0c89 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1181,17 +1181,19 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P const left = this.panY(); this._lastClientY = e.detail.clientY; + console.log("draggg"); + const size = this.getTransform().transformDirection(this.props.PanelWidth(), this.props.PanelHeight()); const scale = this.getLocalTransform().inverse().Scale; if (this._marqueeRef?.current) { + + console.log("hellp"); + const dragX = e.detail.clientX; const dragY = e.detail.clientY; const bounds = this._marqueeRef.current?.getBoundingClientRect(); - console.log("bottom: " + bounds.bottom); - console.log("right: " + bounds.right); - if (dragX - bounds.left < 25) { console.log("PAN left "); |
