- 25 May, 2018 1 commit
-
-
Emmanuel Garcia authored
* Fix #16464: Pass hit test when a big child is inside RenderFittedBox, RenderTransform, RenderFractionalTranslation, or RenderFollowerLayer * Override `hitTestChildren` * RenderTransform and RenderFollowerLayer shouldn't check if they are hit themselves * Test the hit test for translated child into translated box * Add hit test for `FractionalTranslation` * Don't check if RenderFractionalTranslation is hit themself * Add hit test for FractionalTranslation * Add test for FractionalTranslation
-
- 31 Jan, 2018 1 commit
-
-
amirh authored
For backward compatibility we keep supporting specifying the shape as a combination of MaterialType and borderRadius, and we just use that as a default when shapeBorder is null. To cleanup the implementation if shapeBorder was not specified we just translate the specified shape to a shapeBorder internally. I benchmarked paint, layout and hit testing, with the specialized shape clippers vs. the equivalent path clippers and did not see any significant performance difference. For testing, I extended the clippers/physicalShape matchers to match either the specialized shape or the equivalent shape.
-
- 12 Jan, 2018 1 commit
-
-
amirh authored
This CL also refactors common logic for RenderPhysicalModel and RenderPhysicalShape into a base class _RenderPhysicalModelBase.
-