Fix wrong documentation: There is no LeaderLayer._lastOffset
anymore (#100300)
This commit is contained in:
parent
51e5332ba5
commit
36fa6c4d90
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user