mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
fix advancedWordWrap concatenate when wrapping
This commit is contained in:
parent
c5e10cd3f1
commit
4f30e0b5b9
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ var Text = new Class({
|
|||
.replace(/[ \n]*$/gi, '');
|
||||
|
||||
// Prepend remainder to next line
|
||||
lines[i + 1] = remainder + ' ' + (lines[i + 1] || '');
|
||||
lines.splice(i + 1, 0, remainder);
|
||||
linesCount = lines.length;
|
||||
|
||||
break; // Processing on this line
|
||||
|
|
Loading…
Reference in a new issue