updated css-layout and fixed callsites
Summary: This diff pulls in my changes to css-layout algorithm. (The change: https://github.com/facebook/css-layout/pull/154) This is a breaking change, since it adds a new `height` parameter to all measure functions. So I've fixed all existing implementations just by adding a new unused parameter `height` - it's up to owners of these functions whether they want to use it or not. Reviewed By: foghina Differential Revision: D2757965
This commit is contained in:
parent
4fb42be0a1
commit
0d042c2ef4
|
@ -61,7 +61,7 @@ import com.facebook.react.uimanager.ViewProps;
|
|||
}
|
||||
|
||||
@Override
|
||||
public void measure(CSSNode node, float width, MeasureOutput measureOutput) {
|
||||
public void measure(CSSNode node, float width, float height, MeasureOutput measureOutput) {
|
||||
CharSequence text = getText();
|
||||
|
||||
if (TextUtils.isEmpty(text)) {
|
||||
|
|
Loading…
Reference in New Issue