Refactor signature

This commit is contained in:
Mikael Sand
2017-07-22 05:37:29 +03:00
parent a103cef1a6
commit ba7d9c6da8
2 changed files with 2 additions and 2 deletions
@@ -119,9 +119,9 @@ class GlyphContext {
}
void pushContext(
boolean reset,
TextShadowNode node,
@Nullable ReadableMap font,
boolean reset,
@Nullable String x,
@Nullable String y,
@Nullable ReadableArray rotate,
@@ -178,6 +178,6 @@ class TextShadowNode extends GroupShadowNode {
@Override
void pushGlyphContext() {
boolean isTextNode = !(this instanceof TextPathShadowNode) && !(this instanceof TSpanShadowNode);
getTextRootGlyphContext().pushContext(this, mFont, isTextNode, mPositionX, mPositionY, mRotate, mDeltaX, mDeltaY);
getTextRootGlyphContext().pushContext(isTextNode, this, mFont, mPositionX, mPositionY, mRotate, mDeltaX, mDeltaY);
}
}