Merge pull request #949 from rcancro/roundMin

Do not round when resolving relative dimensions
This commit is contained in:
appleguy 2015-12-17 15:34:12 -08:00
commit bc6e5fee1a

View File

@ -57,7 +57,7 @@ CGFloat ASRelativeDimensionResolve(ASRelativeDimension dimension, CGFloat parent
case ASRelativeDimensionTypePoints:
return dimension.value;
case ASRelativeDimensionTypePercent:
return round(dimension.value * parent);
return dimension.value * parent;
}
}