diff options
| author | bob <bcz@cs.brown.edu> | 2019-07-01 13:09:38 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-07-01 13:09:38 -0400 |
| commit | 5c9983880f34bf6949a01035ba1e3fcb9c75ec99 (patch) | |
| tree | 818e941b605e6859ba2fbb96cc0ef11740f97178 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 9a222ede9fafd90e1d62ed40076da68e3aa299b7 (diff) | |
| parent | d98ab1aae1510f1cf1c0f4a32553a7971a660b66 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 927aa363f..f5dd76b71 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -251,6 +251,8 @@ class TreeView extends React.Component<TreeViewProps> { e.stopPropagation(); } } + + @undoBatch treeDrop = (e: Event, de: DragManager.DropEvent) => { let x = this.props.ScreenToLocalTransform().transformPoint(de.x, de.y); let rect = this._header!.current!.getBoundingClientRect(); |
