File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,7 +310,6 @@ Phaser.BitmapText.prototype.updateText = function () {
310310 var scale = this . _fontSize / data . size ;
311311 var lines = [ ] ;
312312
313- // var c = 0;
314313 var y = 0 ;
315314
316315 this . textWidth = 0 ;
@@ -323,8 +322,6 @@ Phaser.BitmapText.prototype.updateText = function () {
323322
324323 lines . push ( line ) ;
325324
326- // console.log(line);
327-
328325 if ( line . width > this . textWidth )
329326 {
330327 this . textWidth = line . width ;
@@ -333,11 +330,8 @@ Phaser.BitmapText.prototype.updateText = function () {
333330 y += ( data . lineHeight * scale ) ;
334331
335332 text = text . substr ( line . text . length + 1 ) ;
336-
337- c ++ ;
338333
339- } while ( line . end === false )
340- // } while (line.end === false && c < 10)
334+ } while ( line . end === false ) ;
341335
342336 this . textHeight = y ;
343337
You can’t perform that action at this time.
0 commit comments