diff options
author | bob <bcz@cs.brown.edu> | 2020-02-07 13:58:33 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-02-07 13:58:33 -0500 |
commit | ea5e85e30b83b40135c83025d4f1be1ed188b9b7 (patch) | |
tree | 6e28ccee1b6cdcdca2ad5ecb5d49365d0cd28b13 /src/client/util/DragManager.ts | |
parent | ccedb9302632fcdbc75292b90942a34b98bebcee (diff) | |
parent | 688f54be8be328d733e05b0781aa8908305e14fa (diff) |
Merge branch 'master' into fixinglayoutsyms
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index c05a2de96..e572f0fcb 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -197,7 +197,10 @@ export namespace DragManager { dragData.userDropAction === "copy" || (!dragData.userDropAction && dragData.dropAction === "copy") ? Doc.MakeCopy(d, true) : d) ); e.docDragData?.droppedDocuments.forEach((drop: Doc, i: number) => - Cast(dragData.draggedDocuments[i].removeDropProperties, listSpec("string"), []).map(prop => drop[prop] = undefined)); + Cast(dragData.draggedDocuments[i].removeDropProperties, listSpec("string"), []).map(prop => { + drop[prop] = undefined; + }) + ); }; dragData.draggedDocuments.map(d => d.dragFactory); // does this help? trying to make sure the dragFactory Doc is loaded StartDrag(eles, dragData, downX, downY, options, finishDrag); |