graflow: fix delete wires
This commit is contained in:
@@ -1315,6 +1315,7 @@ class EditWires{
|
||||
if((e.key == 'Delete') && this.currentlySelectedWire) {
|
||||
this.graflow.flow.links = this.graflow.flow.links.filter(link => link.id != this.currentlySelectedWire.dataset.id)
|
||||
this.graflow.stagedWires[this.currentlySelectedWire.dataset.id].remove()
|
||||
delete(this.graflow.stagedWires[this.currentlySelectedWire.dataset.id])
|
||||
this.currentlySelectedWire.remove()
|
||||
this.currentlySelectedWire = null
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user