diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-07-29 21:23:28 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-07-29 21:23:28 -0400 |
| commit | 3d22b8a98237432912446b1d7da7d3b742d3f65f (patch) | |
| tree | a273d581ab557facb87bd411eb345a3172ea5200 /src/client/views/collections/collectionFreeForm | |
| parent | 1723fed27c615ced10b5bf9648f86f923cf61a42 (diff) | |
| parent | 5d30b565fb2ab2d3c9f67fdd9776e08c8a95902e (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index d2c95532e..2b2f0bcd5 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -163,6 +163,8 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { let dropY = NumCast(de.data.dropDocument.y); dragDoc.x = x + NumCast(dragDoc.x) - dropX; dragDoc.y = y + NumCast(dragDoc.y) - dropY; + de.data.targetContext = this.props.Document; + dragDoc.targetContext = this.props.Document; this.bringToFront(dragDoc); } } |
