mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 16:32:24 +00:00
Fix index naming
This commit is contained in:
@@ -250,8 +250,8 @@ class GlyphContext {
|
|||||||
|
|
||||||
float nextX(float glyphWidth) {
|
float nextX(float glyphWidth) {
|
||||||
for (int index = mXsIndex; index >= 0; index--) {
|
for (int index = mXsIndex; index >= 0; index--) {
|
||||||
int Index = mXIndices.get(index);
|
int xIndex = mXIndices.get(index);
|
||||||
mXIndices.set(index, Index + 1);
|
mXIndices.set(index, xIndex + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int nextIndex = mXIndex + 1;
|
int nextIndex = mXIndex + 1;
|
||||||
@@ -269,8 +269,8 @@ class GlyphContext {
|
|||||||
|
|
||||||
float nextY() {
|
float nextY() {
|
||||||
for (int index = mYsIndex; index >= 0; index--) {
|
for (int index = mYsIndex; index >= 0; index--) {
|
||||||
int Index = mYIndices.get(index);
|
int yIndex = mYIndices.get(index);
|
||||||
mYIndices.set(index, Index + 1);
|
mYIndices.set(index, yIndex + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int nextIndex = mYIndex + 1;
|
int nextIndex = mYIndex + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user