Rename pixels to points

This commit is contained in:
David Hart
2017-02-03 20:46:12 +01:00
parent b5c2b09780
commit 9f192b0372
17 changed files with 186 additions and 165 deletions

View File

@@ -854,9 +854,9 @@ namespace Facebook.YogaKit
}
}
static double RoundPixelValue(float value)
static double RoundPointValue(float value)
{
float scale = NativePixelScale;
float scale = NativePointScale;
return Math.Round(value * scale) / scale;
}