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