Add feature to use percentage as value unit #258

Closed
woehrl01 wants to merge 43 commits from percentage-feature into master
73 changed files with 5137 additions and 3030 deletions
Showing only changes of commit 306e16fbb8 - Show all commits

View File

@@ -64,7 +64,7 @@ namespace Facebook.Yoga
return new YogaValue
{
Value = value,
isDefined = YogaConstants.IsUndefined(value) ? (byte)0 : (byte)1,,
isDefined = YogaConstants.IsUndefined(value) ? (byte)0 : (byte)1,
Unit = YogaUnit.Percent
};
}