changed the csharp interop code to use new functions

This commit is contained in:
Lukas Woehrl
2016-12-23 22:33:06 +01:00
parent d182ab1b09
commit d44ebab006
7 changed files with 144 additions and 44 deletions

View File

@@ -20,7 +20,7 @@ namespace Facebook.Yoga
public static bool IsUndefined(YogaValue value)
{
return !value.IsDefined;
return value.Unit == YogaUnit.Undefined;
}
}
}