mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Corrected currentLine
offset
This commit is contained in:
parent
187de1042d
commit
9ecd99d173
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ var GetBitmapTextSize = function (src, round, updateOrigin, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
xAdvance = 0;
|
xAdvance = 0;
|
||||||
yAdvance = (lineHeight + lineSpacing) * currentLine;
|
yAdvance = (lineHeight + lineSpacing) * (currentLine + 1);
|
||||||
lastGlyph = null;
|
lastGlyph = null;
|
||||||
|
|
||||||
lineWidths[currentLine] = currentLineWidth;
|
lineWidths[currentLine] = currentLineWidth;
|
||||||
|
|
Loading…
Reference in a new issue