diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-07-08 13:41:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 13:41:59 -0400 |
commit | b2dc1c1d5e31a6241851d418db3a64ae6ca4dde8 (patch) | |
tree | 48fc22aefbd29518f82e6ef8a042adeca468a8b2 /src/client/util/DragManager.ts | |
parent | 4324641522b035edb4a803401263bb732b98ab16 (diff) | |
parent | ad87140f4a52984d754c06fcb55e66a0cc935ce2 (diff) |
Merge pull request #196 from browngraphicslab/glChanges
Some golden layout changes
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index a269d7eba..6c2340d04 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -41,8 +41,8 @@ export function SetupDrag( let onItemDown = async (e: React.PointerEvent) => { if (e.button === 0) { e.stopPropagation(); - e.preventDefault(); if (e.shiftKey && CollectionDockingView.Instance) { + e.persist(); CollectionDockingView.Instance.StartOtherDrag(e, [await docFunc()]); } else { document.addEventListener("pointermove", onRowMove); |