mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +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;
|
||||
yAdvance = (lineHeight + lineSpacing) * currentLine;
|
||||
yAdvance = (lineHeight + lineSpacing) * (currentLine + 1);
|
||||
lastGlyph = null;
|
||||
|
||||
lineWidths[currentLine] = currentLineWidth;
|
||||
|
|
Loading…
Reference in a new issue