mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
cbf195e165
Summary: By default, Nodes causes views to not be clipped, unless overflow is explicitly set to hidden. Consequently, Nodes sets all the clipping bounds to negative infinity, and does some extra work (saving the canvas layer, clipping, etc) before drawing. This optimization skips the extra work when it's not needed. Reviewed By: sriramramani Differential Revision: D3161268