Skip to content

Commit

Permalink
fix: removing a ChoiceNode option now correctly disconnects the attac…
Browse files Browse the repository at this point in the history
…hed edge, closes #1122
  • Loading branch information
AlmasB committed Mar 7, 2022
1 parent ca077fe commit 47748e0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 529,10 @@ class DialoguePane(graph: DialogueGraph = DialogueGraph()) : Pane() {
c.addedSubList.forEach { outPoint ->
attachMouseHandler(outPoint)
}

c.removed.forEach { outPoint ->
disconnectOutLink(outPoint)
}
}
}

Expand Down

0 comments on commit 47748e0

Please sign in to comment.