• Adam Barth's avatar
    Fix composited transform bounds calculations (#6302) · 3b56f122
    Adam Barth authored
    We weren't computing the bounds for composited transforms correctly. We
    need to conjugate the transform by the offset in order to get the
    correct paint bounds for the composited layer. We now also use the same
    math in the non-composited case for consistency.
    
    Also, don't scale the z-coordinate in RenderFittedBox.
    
    Fixes #6293
    3b56f122
transforms.dart 4.67 KB