Skip to content

Commit

Permalink
Make SemanticsNode.isMergedIntoParent Readonly (#6617)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyHillers authored Oct 31, 2023
1 parent 8efcaed commit 7fa6761
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -811,10 +811,7 @@ class _RenderScrollSemantics extends RenderProxyBox {
return;
}

_innerNode ??= SemanticsNode(showOnScreen: showOnScreen);
_innerNode!
..isMergedIntoParent = node.isPartOfNodeMerging
..rect = Offset.zero & node.rect.size;
(_innerNode ??= SemanticsNode(showOnScreen: showOnScreen)).rect = node.rect;

int? firstVisibleIndex;
final List<SemanticsNode> excluded = <SemanticsNode>[_innerNode!];
Expand Down

0 comments on commit 7fa6761

Please sign in to comment.