Unverified Commit 36fa6c4d authored by fzyzcjy's avatar fzyzcjy Committed by GitHub

Fix wrong documentation: There is no `LeaderLayer._lastOffset` anymore (#100300)

parent 51e5332b
...@@ -2511,7 +2511,7 @@ class FollowerLayer extends ContainerLayer { ...@@ -2511,7 +2511,7 @@ class FollowerLayer extends ContainerLayer {
final Matrix4 forwardTransform = _collectTransformForLayerChain(forwardLayers); final Matrix4 forwardTransform = _collectTransformForLayerChain(forwardLayers);
// Further transforms the coordinate system to a hypothetical child (null) // Further transforms the coordinate system to a hypothetical child (null)
// of the leader layer, to account for the leader's additional paint offset // of the leader layer, to account for the leader's additional paint offset
// and layer offset (LeaderLayer._lastOffset). // and layer offset (LeaderLayer.offset).
leader.applyTransform(null, forwardTransform); leader.applyTransform(null, forwardTransform);
forwardTransform.translate(linkedOffset!.dx, linkedOffset!.dy); forwardTransform.translate(linkedOffset!.dx, linkedOffset!.dy);
......
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