fixed abortion of edge creation
This commit is contained in:
parent
b791e9d3f1
commit
411af0bd2f
@ -502,6 +502,7 @@ function openContextMenu(x, y, menu) {
|
|||||||
menu.style.top = y - 25;
|
menu.style.top = y - 25;
|
||||||
menu.style.left = x + 20;
|
menu.style.left = x + 20;
|
||||||
menu.style.display = 'block';
|
menu.style.display = 'block';
|
||||||
|
edgeFrom = edgeTo = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var newStateCoords = {'x': 0, 'y': 0}; //Initial coordinates of the next new state
|
var newStateCoords = {'x': 0, 'y': 0}; //Initial coordinates of the next new state
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user