aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-06-09 12:46:25 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-06-09 12:46:25 -0400
commit7d38e4a98a0382cdd032d63d375707f19362873d (patch)
tree415273805b218e07a4ad9e4c547e26469c4b0e13 /src/client/util/DragManager.ts
parent9de05a8fc6d1cda01662f9bce3a5f6764d280be3 (diff)
parent331cb0bec8089c4435126542ed3181fe227eff51 (diff)
cleaned up code in InkTranscription
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index f438a8c11..9f8c49081 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -210,10 +210,6 @@ export namespace DragManager {
options?: DragOptions,
dropEvent?: () => any
) {
- // stop an 'accidental' on-click drag that may have occured if the user is in presenting mode
- // note: dragData.dropAction is only undefined when the element itself being dragged without being selected
- if (Doc.UserDoc()?.presentationMode === 'recording' && dragData.dropAction === undefined) return false;
-
const addAudioTag = (dropDoc: any) => {
dropDoc && !dropDoc.creationDate && (dropDoc.creationDate = new DateField);
dropDoc instanceof Doc && DocUtils.MakeLinkToActiveAudio(() => dropDoc);