diff options
author | bobzel <zzzman@gmail.com> | 2020-08-13 17:11:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 17:11:13 -0400 |
commit | f9936e0f0d8fb670bd887bfd568a8ef12bdbc28d (patch) | |
tree | 6b0d31a2cf5778993cf9e6713e5f50ef992446a0 /src/client/util/DragManager.ts | |
parent | 79ecb86980d67ea2c57be4e38d396a5b19484bfe (diff) | |
parent | bf057a899766527b11094d93503d4a94981bd301 (diff) |
Merge pull request #605 from browngraphicslab/presentation_updates
Presentation updates
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 4b1860b5c..0cca61841 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -210,7 +210,7 @@ export namespace DragManager { docDragData.droppedDocuments = dragData.draggedDocuments.map(d => !dragData.isSelectionMove && !dragData.userDropAction && ScriptCast(d.onDragStart) ? addAudioTag(ScriptCast(d.onDragStart).script.run({ this: d }).result) : docDragData.dropAction === "alias" ? Doc.MakeAlias(d) : - docDragData.dropAction === "copy" ? Doc.MakeDelegate(d) : d); + docDragData.dropAction === "copy" ? Doc.MakeClone(d) : d); docDragData.dropAction !== "same" && docDragData.droppedDocuments.forEach((drop: Doc, i: number) => { const dragProps = Cast(dragData.draggedDocuments[i].removeDropProperties, listSpec("string"), []); const remProps = (dragData?.removeDropProperties || []).concat(Array.from(dragProps)); |