mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 09:27:53 +08:00
Summary: From task: In some cases, however, drawPath is the more correct thing to do, and this ticket is one such example - if we draw the left border and top border with different colors, Nodes draws rectangularly, whereas non-Nodes makes the edges triangular. To solve the issue in Nodes, we use drawPath instead of drawRect only when necessary (borders intersect with different colors). Reviewed By: ahmedre Differential Revision: D4048685