Move isUndefined check to CSSConstants in java code
This commit is contained in:
@@ -21,7 +21,7 @@ public class LayoutEngineTest {
|
||||
|
||||
@Override
|
||||
public void measure(CSSNode node, float width, MeasureOutput measureOutput) {
|
||||
if (FloatUtil.isUndefined(width)) {
|
||||
if (CSSConstants.isUndefined(width)) {
|
||||
width = 10000000;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user