fixed abortion of edge creation

This commit is contained in:
David Mosbach 2023-05-28 20:21:22 +02:00
parent b791e9d3f1
commit 411af0bd2f

View File

@ -502,6 +502,7 @@ function openContextMenu(x, y, menu) {
menu.style.top = y - 25;
menu.style.left = x + 20;
menu.style.display = 'block';
edgeFrom = edgeTo = null;
}
var newStateCoords = {'x': 0, 'y': 0}; //Initial coordinates of the next new state