diff options
author | bob <bcz@cs.brown.edu> | 2019-06-25 09:35:09 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-06-25 09:35:09 -0400 |
commit | 45ded4da2592bc2a8201e1260dfb6a80485684c7 (patch) | |
tree | 47cd5a7e031ae9535f4926e74b10bd24266b78d9 /src/client/util/DragManager.ts | |
parent | 66acf0237f2e1fe74660e5c2a035757403f79f8b (diff) |
converted isTopMost into renderDepth and capped renderDepth at 7. removed previous cycle detection.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 3143924fc..442187912 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -28,7 +28,6 @@ export function SetupDrag(_reference: React.RefObject<HTMLElement>, docFunc: () document.removeEventListener('pointerup', onRowUp); }; let onItemDown = async (e: React.PointerEvent) => { - // if (this.props.isSelected() || this.props.isTopMost) { if (e.button === 0) { e.stopPropagation(); if (e.shiftKey && CollectionDockingView.Instance) { @@ -38,7 +37,6 @@ export function SetupDrag(_reference: React.RefObject<HTMLElement>, docFunc: () document.addEventListener("pointerup", onRowUp); } } - //} }; return onItemDown; } |