diff --git a/src/gameobjects/text/Text.js b/src/gameobjects/text/Text.js index 363fe17b7a..ed3214a745 100644 --- a/src/gameobjects/text/Text.js +++ b/src/gameobjects/text/Text.js @@ -443,7 +443,7 @@ var Text = new Class({ var wordWithSpace = word + ' '; var letterSpacingWidth = wordWithSpace.length * this.letterSpacing; var wordWidth = context.measureText(wordWithSpace).width + letterSpacingWidth; - console.log(words.length, word); + if (wordWidth > currentLineWidth) { // Break word