Skip to content

Commit

Permalink
Add missing 'charLocation.index' reference in BitmapFont
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranick committed Nov 5, 2018
1 parent 0126c68 commit 8fefde0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/starling/text/BitmapFont.hx
Expand Up @@ -437,6 +437,7 @@ class BitmapFont implements ITextCompositor
currentX += char.getKerning(lastCharID);

charLocation = BitmapCharLocation.instanceFromPool(char);
charLocation.index = i;
charLocation.x = currentX + char.xOffset;
charLocation.y = currentY + char.yOffset;
currentLine[currentLine.length] = charLocation; // push
Expand Down

0 comments on commit 8fefde0

Please sign in to comment.