summaryrefslogtreecommitdiff
path: root/scripts/gui
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-09-28 02:19:13 -0400
committerKyle Gunger <corechg@gmail.com>2020-09-28 02:19:13 -0400
commit04010b3b1f6ba6fc44d2cd0cd6a8a39446cd7b1d (patch)
tree992df08008432e1cf7ef9c151f84fa1812fcff88 /scripts/gui
parentdbaf69557c0d6e648120b068fec1920b9391a24a (diff)
Drag code updates
Diffstat (limited to 'scripts/gui')
-rw-r--r--scripts/gui/table.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/gui/table.js b/scripts/gui/table.js
index c4878a0..7199f83 100644
--- a/scripts/gui/table.js
+++ b/scripts/gui/table.js
@@ -4,9 +4,8 @@ class Table{
this.root = e;
this.drag = drag;
- this.root.addEventListener("mouseup", drag.stopDraggingAll.bind(drag));
-
- //drag.addEventListener("dragstop", );
+ drag.addEventListener("dragstart", (e) => {console.log(e)});
+ drag.addEventListener("dragstop", (e) => {console.log(e)});
this.socket = socket;