diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-09-28 02:19:13 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-09-28 02:19:13 -0400 |
commit | 04010b3b1f6ba6fc44d2cd0cd6a8a39446cd7b1d (patch) | |
tree | 992df08008432e1cf7ef9c151f84fa1812fcff88 /scripts/gui | |
parent | dbaf69557c0d6e648120b068fec1920b9391a24a (diff) |
Drag code updates
Diffstat (limited to 'scripts/gui')
-rw-r--r-- | scripts/gui/table.js | 5 |
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; |