Repository navigation
1.46.28
·
110 commits
to main
since this release
Android pixel grid like React Native's Yoga rounding on top of 1.46.27.
- Android: frames snap to the pixel grid like Yoga's
roundLayoutResultsToPixelGrid, as React Native mounts them: positions are
rounded relative to the parent, sizes come from the rounded absolute edges,
and measured kinds (text, input, switch, activity indicator: Yoga's text
node type) floor their position and ceil a fractional trailing edge; a
child of layout-only (flattened) ancestors adds each ancestor's rounded
origin. Rounding absolute edges moved centered children one pixel to the
right/bottom at fractional densities (2.625: tab bar items, grid rows).