|
@ -535,8 +535,8 @@ class SelectionHandler { |
|
|
delete this.hoverObj.edges[edgeId]; |
|
|
delete this.hoverObj.edges[edgeId]; |
|
|
} |
|
|
} |
|
|
// if the blur remains the same and the object is undefined (mouse off) or another
|
|
|
// if the blur remains the same and the object is undefined (mouse off) or another
|
|
|
// edge has been hovered, we blur the edge
|
|
|
|
|
|
else if (object === undefined || object instanceof Edge) { |
|
|
|
|
|
|
|
|
// edge has been hovered, or another node has been hovered we blur the edge.
|
|
|
|
|
|
else if (object === undefined || (object instanceof Edge && object.id != edgeId) || (object instanceof Node && !object.hover)) { |
|
|
this.blurObject(this.hoverObj.edges[edgeId]); |
|
|
this.blurObject(this.hoverObj.edges[edgeId]); |
|
|
delete this.hoverObj.edges[edgeId]; |
|
|
delete this.hoverObj.edges[edgeId]; |
|
|
hoverChanged = true; |
|
|
hoverChanged = true; |
|
|