mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 20:35:59 +00:00
drag & drop references
This commit is contained in:
@@ -3,6 +3,7 @@ export default function moveDrag(node, [onStart, onMove, onEnd]) {
|
||||
let startY = null;
|
||||
|
||||
const handleMoveDown = e => {
|
||||
if (e.button != 0) return;
|
||||
startX = e.clientX;
|
||||
startY = e.clientY;
|
||||
document.addEventListener('mousemove', handleMoveMove, true);
|
||||
|
||||
Reference in New Issue
Block a user