mirror of
https://github.com/flutter/flutter
synced 2024-09-19 16:21:58 +00:00
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);
|
||||
// Further transforms the coordinate system to a hypothetical child (null)
|
||||
// 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);
|
||||
forwardTransform.translate(linkedOffset!.dx, linkedOffset!.dy);
|
||||
|
||||
|
|
Loading…
Reference in a new issue