aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-03-31 16:15:10 -0700
committerAndy Rickert <andrew_rickert@brown.edu>2020-03-31 16:15:10 -0700
commitb33ba2eb7a4bb6744f07c3ee8d86c55ec7b599b5 (patch)
tree88f4d21c08f4a1218000f8c8b88e2689e5247b0d /src/client/util/DragManager.ts
parent13e6b075154001ce33845a72454e3cd039a92670 (diff)
more settings ui + huge bugfixes with document dragging and selection
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 5d2f1bc06..deb2da939 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -267,6 +267,7 @@ export namespace DragManager {
}
function StartDrag(eles: HTMLElement[], dragData: { [id: string]: any }, downX: number, downY: number, options?: DragOptions, finishDrag?: (dropData: DragCompleteEvent) => void) {
+ console.log("drag");
eles = eles.filter(e => e);
if (!dragDiv) {
dragDiv = document.createElement("div");