mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
14 lines
872 B
Diff
14 lines
872 B
Diff
diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart
|
|
--- a/packages/flutter/lib/src/rendering/object.dart
|
|
+++ b/packages/flutter/lib/src/rendering/object.dart
|
|
@@ -1617,6 +1617,9 @@
|
|
if (!parentInSemanticsTree.geometryDirty) {
|
|
targets.add(parentInSemanticsTree);
|
|
} else {
|
|
+ // Refresh the ancestor cache for this flush before reading it.
|
|
+ // A blocked branch can retain an ancestor with cleared geometry.
|
|
+ parentInSemanticsTree.computeAncestorInfo(treeShapeToken);
|
|
final _RenderObjectSemantics? firstAncestorNodeWithCleanGeometry =
|
|
parentInSemanticsTree.firstAncestorNodeWithCleanGeometry;
|
|
// firstAncestorNodeWithCleanGeometry can be null if this is a blocked branch.
|