Skip to content

Commit fa7259f

Browse files
committed
Removed debug calls.
1 parent fb4709f commit fa7259f

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

src/gameobjects/BitmapText.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,7 @@ Phaser.BitmapText.prototype.updateText = function () {
314314
var scale = this._fontSize / data.size;
315315
var lines = [];
316316

317-
// console.log('scale', scale);
318-
// console.log(text);
319-
320-
var c = 0;
317+
// var c = 0;
321318
var y = 0;
322319

323320
this.textWidth = 0;
@@ -330,7 +327,7 @@ Phaser.BitmapText.prototype.updateText = function () {
330327

331328
lines.push(line);
332329

333-
console.log(line);
330+
// console.log(line);
334331

335332
if (line.width > this.textWidth)
336333
{
@@ -343,13 +340,11 @@ Phaser.BitmapText.prototype.updateText = function () {
343340

344341
c++;
345342

346-
} while (line.end === false && c < 10)
347-
// } while (line.end === false)
343+
// } while (line.end === false && c < 10)
344+
} while (line.end === false)
348345

349346
this.textHeight = y;
350347

351-
console.log('text area', this.textWidth, 'x', this.textHeight);
352-
353348
var t = 0;
354349
var align = 0;
355350
var ax = this.textWidth * this.anchor.x;

0 commit comments

Comments
 (0)