aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-14 14:53:02 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-14 14:53:02 -0400
commitf72919c41ea4e918b315dd11cbae993518181b5b (patch)
tree3247cbc4d7eb046e6d6f763f01f22d39f2322cfc /src
parentcc84f5620b3f3ef801e3b0696f817e4fb74f58fc (diff)
fixed shift dragging icons
Diffstat (limited to 'src')
-rw-r--r--src/client/util/DragManager.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 2c316ccdf..169f2edec 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -430,12 +430,13 @@ export namespace DragManager {
}
if (((options && !options.withoutShiftDrag) || !options) && e.shiftKey && CollectionDockingView.Instance) {
AbortDrag();
+ finishDrag && finishDrag(dragData);
CollectionDockingView.Instance.StartOtherDrag({
pageX: e.pageX,
pageY: e.pageY,
preventDefault: emptyFunction,
button: 0
- }, docs);
+ }, dragData.droppedDocuments);
}
//TODO: Why can't we use e.movementX and e.movementY?
let moveX = e.pageX - lastX;