Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify getting padding + border for cross axis in algorithm (facebo…
…ok#1437) Summary: X-link: facebook/react-native#41208 Reading through the sizing logic and this seemed a bit redundant/confusing. Lets use the same function we just used for the main axis for the cross axis as well so people do not think its special. Also we will need one less variable. The reason this was done it seems is because we need the leading padding + border elsewhere so this is technically a few less steps but this is cleaner Reviewed By: NickGerleman Differential Revision: D50704177
- Loading branch information