Unverified Commit 1793ed79 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

invert children for real (#18489)

parent 6ab3abfb
...@@ -1362,7 +1362,7 @@ class SemanticsNode extends AbstractNode with DiagnosticableTreeMixin { ...@@ -1362,7 +1362,7 @@ class SemanticsNode extends AbstractNode with DiagnosticableTreeMixin {
// order. // order.
childrenInHitTestOrder = new Int32List(childCount); childrenInHitTestOrder = new Int32List(childCount);
for (int i = childCount - 1; i >= 0; i -= 1) { for (int i = childCount - 1; i >= 0; i -= 1) {
childrenInHitTestOrder[i] = _children[i].id; childrenInHitTestOrder[i] = _children[childCount - i - 1].id;
} }
} }
builder.updateNode( builder.updateNode(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment