mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 05:26:00 +00:00
diagram - move by click on table anywhere
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
export default function moveDrag(node, [onStart, onMove, onEnd]) {
|
||||
export default function moveDrag(node, dragEvents) {
|
||||
if (!dragEvents) return;
|
||||
|
||||
const [onStart, onMove, onEnd] = dragEvents;
|
||||
let startX = null;
|
||||
let startY = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user