mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
Format fix
This commit is contained in:
parent
2d01f5d3ae
commit
acc96c74a5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ var GetTextSize = function (text, size, lines)
|
||||||
{
|
{
|
||||||
var line = lines[i];
|
var line = lines[i];
|
||||||
|
|
||||||
for(var j=0; j< line.length; j++)
|
for (var j = 0; j < line.length; j++)
|
||||||
{
|
{
|
||||||
lineWidth += context.measureText(line[j]).width;
|
lineWidth += context.measureText(line[j]).width;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue