File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3399,7 +3399,7 @@ class _ConstraintRenderBox extends RenderBox
33993399 required Offset position,
34003400 }) {
34013401 if (_needsReorderEventOrder) {
3402- _eventOrderList. sort ( (left, right) {
3402+ insertionSort < _ConstrainedNode >(_eventOrderList, (left, right) {
34033403 int result = left.eIndex - right.eIndex;
34043404 if (result == 0 ) {
34053405 result = left.index - right.index;
@@ -3474,7 +3474,7 @@ class _ConstraintRenderBox extends RenderBox
34743474 }());
34753475
34763476 if (_needsReorderPaintingOrder) {
3477- _paintingOrderList. sort ( (left, right) {
3477+ insertionSort < _ConstrainedNode >(_paintingOrderList, (left, right) {
34783478 int result = left.zIndex - right.zIndex;
34793479 if (result == 0 ) {
34803480 result = left.index - right.index;
You can’t perform that action at this time.
0 commit comments