Skip to content

Commit 394ede8

Browse files
committed
changed function call wordWrap() to runWordWrap()
1 parent 7557e4e commit 394ede8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/Text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Phaser.Text.prototype.updateText = function () {
359359

360360
if (this.style.wordWrap)
361361
{
362-
outputText = this.wordWrap(this.text);
362+
outputText = this.runWordWrap(this.text);
363363
}
364364

365365
//split text into lines

0 commit comments

Comments
 (0)