|
|
|
@ -24,6 +24,10 @@ class Cable {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.addEventListener("resize", (e) => {
|
|
|
|
|
svgElement.setAttribute("viewBox", `0 0 ${svgElement.clientWidth} ${svgElement.clientHeight}`);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
window.addEventListener("mousedown", function (e) {
|
|
|
|
|
let socket = e.target;
|
|
|
|
|
|
|
|
|
|