Skip to content

Commit

Permalink
fix(Padding): copy paste error for vertical padding (#1031)
Browse files Browse the repository at this point in the history
Fixes #1024
  • Loading branch information
rozele committed Mar 6, 2017
1 parent d1c1261 commit 36c4418
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ private void SetPadding(YogaNode node, int spacingType, float padding)
node.PaddingHorizontal = padding;
break;
case YogaEdge.Vertical:
node.PaddingHorizontal = padding;
node.PaddingVertical = padding;
break;
case YogaEdge.All:
node.Padding = padding;
Expand Down

0 comments on commit 36c4418

Please sign in to comment.