Use layout padding instead of style padding

Reviewed By: AaaChiuuu

Differential Revision: D4377074

fbshipit-source-id: a9abbe58e51399e123328f905b4ea8afe0502e33
This commit is contained in:
Emil Sjolander 2017-01-06 06:39:34 -08:00 committed by Facebook Github Bot
parent 8105f76226
commit ca484fa422
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ public class ReactShadowNode {
}
public final float getPadding(int spacingType) {
return mYogaNode.getPadding(YogaEdge.fromInt(spacingType)).value;
return mYogaNode.getLayoutPadding(YogaEdge.fromInt(spacingType));
}
public void setDefaultPadding(int spacingType, float padding) {