Commit e7827be
Fix shrinking in non strech alignments while retaining legacy behaviour
Summary:
This fixes shrinking of elements which are in a non stretch alignment, but keeps the legacy stretch behaviour in place. Additionally this adds a testcase for ```useLegacyStretchBehaviour```
Fixes facebook#633
Closes facebook/yoga#635
Differential Revision: D6408037
Pulled By: emilsjolander
fbshipit-source-id: 377ab0308dd3a75a148a0af31ab5eb3ffb5b5d831 parent 4ede379 commit e7827be
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2123 | 2123 | | |
2124 | 2124 | | |
2125 | 2125 | | |
| 2126 | + | |
2126 | 2127 | | |
2127 | 2128 | | |
2128 | 2129 | | |
| |||
2137 | 2138 | | |
2138 | 2139 | | |
2139 | 2140 | | |
| 2141 | + | |
2140 | 2142 | | |
2141 | 2143 | | |
2142 | 2144 | | |
2143 | 2145 | | |
2144 | | - | |
| 2146 | + | |
2145 | 2147 | | |
2146 | 2148 | | |
2147 | 2149 | | |
| |||
0 commit comments