mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 09:10:44 +00:00
Fix popContext mContextLength usage.
This commit is contained in:
@@ -196,18 +196,18 @@ class GlyphContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void popContext() {
|
void popContext() {
|
||||||
mContextLength--;
|
|
||||||
top--;
|
|
||||||
|
|
||||||
mNodes.remove(mContextLength);
|
|
||||||
mFontContext.remove(mContextLength);
|
|
||||||
|
|
||||||
mXsIndices.remove(mContextLength);
|
mXsIndices.remove(mContextLength);
|
||||||
mYsIndices.remove(mContextLength);
|
mYsIndices.remove(mContextLength);
|
||||||
mRsIndices.remove(mContextLength);
|
mRsIndices.remove(mContextLength);
|
||||||
mdXsIndices.remove(mContextLength);
|
mdXsIndices.remove(mContextLength);
|
||||||
mdYsIndices.remove(mContextLength);
|
mdYsIndices.remove(mContextLength);
|
||||||
|
|
||||||
|
mContextLength--;
|
||||||
|
top--;
|
||||||
|
|
||||||
|
mNodes.remove(mContextLength);
|
||||||
|
mFontContext.remove(mContextLength);
|
||||||
|
|
||||||
int x = mXsIndex;
|
int x = mXsIndex;
|
||||||
int y = mYsIndex;
|
int y = mYsIndex;
|
||||||
int r = mRsIndex;
|
int r = mRsIndex;
|
||||||
|
|||||||
Reference in New Issue
Block a user