Update '12/dragable.js'

master
Max Lehmann 5 years ago
parent f9241f9cd3
commit 542800a31f

@ -1,5 +1,5 @@
function makeDragable(dragHandle, dragTarget) {
function makeDragable(dragHandle, dragTarget) {
let dragObj = null; //object to be moved
let xOffset = 0; //used to prevent dragged object jumping to mouse location
let yOffset = 0;

Loading…
Cancel
Save