From 04010b3b1f6ba6fc44d2cd0cd6a8a39446cd7b1d Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 28 Sep 2020 02:19:13 -0400 Subject: Drag code updates --- scripts/gui/table.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/gui') 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; -- cgit v1.2.3