invert children for real (#18489)

This commit is contained in:
Jonah Williams 2018-06-15 11:22:15 -07:00 committed by GitHub
parent 6ab3abfbc3
commit 1793ed79b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1362,7 +1362,7 @@ class SemanticsNode extends AbstractNode with DiagnosticableTreeMixin {
// order.
childrenInHitTestOrder = new Int32List(childCount);
for (int i = childCount - 1; i >= 0; i -= 1) {
childrenInHitTestOrder[i] = _children[i].id;
childrenInHitTestOrder[i] = _children[childCount - i - 1].id;
}
}
builder.updateNode(