Skip to content

Commit

Permalink
fix: fix marker listener in matching node (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Oct 10, 2023
1 parent 2dae6c4 commit 4405189
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ private inline fun <reified NodeT : MapNode, I, O> Iterable<MapNode>.findInputCa
for (item in this) {
if (item is NodeT && nodeMatchPredicate(item)) {
// Found a matching node
nodeInputCallback(item)?.invoke(marker)
return true
if (nodeInputCallback(item)?.invoke(marker) == true) {
return true
}
} else if (item is InputHandlerNode) {
// Found an input handler, but keep looking for matching nodes
callback = inputHandlerCallback(item)
Expand Down

0 comments on commit 4405189

Please sign in to comment.