You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bool enabled = firstChild !=null; // don't add this layer if there's no child
1779
+
if (!enabled) {
1780
+
// TODO(dnfield): Remove this if/when we can fix https://github.com/flutter/flutter/issues/90004
1781
+
return;
1782
+
}
1793
1783
assert(() {
1794
1784
enabled = enabled &&!debugDisableOpacityLayers;
1795
1785
returntrue;
1796
1786
}());
1797
1787
1798
-
if (enabled)
1788
+
finalint realizedAlpha = alpha!;
1789
+
// The type assertions work because the [alpha] setter nulls out the
1790
+
// engineLayer if it would have changed type (i.e. changed to or from 255).
0 commit comments