mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-07 00:42:31 +00:00
Refactor signature
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user