diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-27 15:27:55 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-27 15:27:55 -0400 |
| commit | b16581b509a8b74ebd3b4e9d0a598e305e4249b5 (patch) | |
| tree | 13b6aea015351f870486db42e7de510ca18c9ed0 /src/client/views/collections/collectionFreeForm | |
| parent | 9d845e78593b6923c8dc3224bcd89715f39aa070 (diff) | |
fixed lockedPosition to allow move events to pass through (ie, for panning).
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 0822e62da..721732774 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -355,7 +355,6 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { let safeScale = Math.min(Math.max(0.15, localTransform.Scale), 40); this.props.Document.scale = Math.abs(safeScale); this.setPan(-localTransform.TranslateX / safeScale, -localTransform.TranslateY / safeScale); - e.preventDefault(); } } |
