diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-01 12:13:47 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-01 12:13:47 -0400 |
| commit | d98ab1aae1510f1cf1c0f4a32553a7971a660b66 (patch) | |
| tree | 2c9ff766dd4b6d52fa8c8c297801f997bfcb6fd1 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | cd78d5b3371d73cc51dcb6f3dbfdca1a3bbcf6e1 (diff) | |
Couple of undo things
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(); |
