mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The occlusion rectangle for platform views was going through this `inverseMapRect` code path, which actually was giving us the wrong results. The operations should just be doing the normal transformation on the rectangles to get the right result. It actually turns out we don't need the inverse mapping function, so I removed it, and I renamed the somewhat confusingly named `cullRect` function to `mapRect` which I think makes a bit more sense. This should resolve https://github.com/flutter/flutter/issues/152139