Fixed server connection tab move handler

canary
WolverinDEV 2020-12-03 10:09:55 +01:00
parent a572493d57
commit 8824525d38
1 changed files with 2 additions and 1 deletions

View File

@ -110,11 +110,12 @@ const MoveableConnectionHandler = (props: { handlerId: string, mode: ConnectionH
handlerId: props.handlerId,
mouse: { x: event.pageX, y: event.pageY, xOffset: basePoint.x + refContainer.current.parentElement.scrollLeft - refContainer.current.offsetLeft }
});
detachListener();
}
};
const mouseUpListener = () => detachListener;
const mouseUpListener = () => detachListener();
const attachListener = () => {
if(attached.status) { return; }