return correct value from Width property

This commit is contained in:
Lukas Wöhrl
2015-10-14 08:50:49 +02:00
parent 4b4cd06be2
commit d2e66a8d82

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