Merge pull request #144 from woehrl01/woehrl01-width

return correct value from Width property (C#)
This commit is contained in:
Christopher Chedeau
2015-10-14 08:45:59 -07:00

View File

@@ -380,7 +380,7 @@ namespace Facebook.CSSLayout
public float Width
{
get { return style.dimensions[DIMENSION_WIDTH]; }
set { updateFloatValue(ref style.dimensions[DIMENSION_HEIGHT], value); }
set { updateFloatValue(ref style.dimensions[DIMENSION_WIDTH], value); }
}
public float Height