diff options
author | bobzel <zzzman@gmail.com> | 2020-03-09 19:47:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 19:47:45 -0400 |
commit | 7fa0783cdc37a70dc8d967188a27d50f269042cc (patch) | |
tree | baa864643547ba264e85a09ad878818ab3cf7111 /src/client/util/DragManager.ts | |
parent | cabb2cf9065d85112f1bd89e31b41dafdbc4ba54 (diff) | |
parent | 08aa3b6fc47cb7719c5690c176d05db36e724382 (diff) |
Merge pull request #345 from browngraphicslab/audio_refactor
Audio refactor
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 dab5c842c..c11675894 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -198,7 +198,7 @@ export namespace DragManager { dropDoc && !dropDoc.creationDate && (dropDoc.creationDate = new DateField); dropDoc instanceof Doc && AudioBox.ActiveRecordings.map(d => DocUtils.MakeLink({ doc: dropDoc }, { doc: d }, "audio link", "audio timeline")); return dropDoc; - } + }; const finishDrag = (e: DragCompleteEvent) => { e.docDragData && (e.docDragData.droppedDocuments = dragData.draggedDocuments.map(d => !dragData.isSelectionMove && !dragData.userDropAction && ScriptCast(d.onDragStart) ? addAudioTag(ScriptCast(d.onDragStart).script.run({ this: d }).result) : |