aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorMichael Foiani <sotech117@michaels-mbp-3.devices.brown.edu>2022-04-14 17:23:49 -0400
committerMichael Foiani <sotech117@michaels-mbp-3.devices.brown.edu>2022-04-14 17:23:49 -0400
commit605137223d8afa0eaf8818de5b556601fca8441f (patch)
tree36c0e661a4b9ed9588161f4bff53c8614ec6f511 /src/client/util/DragManager.ts
parentf61f6be6771415391d9e6733e4cdb1cde32e626d (diff)
Create smooth record and playback of tracking.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 8d4b98d88..db9986a41 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -216,7 +216,7 @@ export namespace DragManager {
) {
// 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()?.isPresenting && dragData.dropAction === undefined) return false;
+ if (Doc.UserDoc()?.presentationMode === 'recording' && dragData.dropAction === undefined) return false;
const addAudioTag = (dropDoc: any) => {
dropDoc && !dropDoc.creationDate && (dropDoc.creationDate = new DateField);