changed the csharp interop code to use new functions
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Facebook.Yoga
|
||||
|
||||
public static bool IsUndefined(YogaValue value)
|
||||
{
|
||||
return !value.IsDefined;
|
||||
return value.Unit == YogaUnit.Undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user