Skip to content

Commit

Permalink
Fix cancelable event sorting
Browse files Browse the repository at this point in the history
So furthest up nodes are always considered first
  • Loading branch information
imerr committed Apr 22, 2018
1 parent 9e44961 commit c1d65a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/Event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace engine {
if (child == startNode) {
continue;
}
f(child);
WalkNode(child, f, false, startNode ? startNode : node);
f(child);
}
if (up) {
// walk up
Expand Down

0 comments on commit c1d65a3

Please sign in to comment.