Skip to content

Commit 2b90f2c

Browse files
authored
BitmapData.js: fixed fluent interface
1 parent 8c99f97 commit 2b90f2c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/gameobjects/BitmapData.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,6 +1730,8 @@ Phaser.BitmapData.prototype = {
17301730
ctx.shadowOffsetX = x || 10;
17311731
ctx.shadowOffsetY = y || 10;
17321732
}
1733+
1734+
return this;
17331735

17341736
},
17351737

@@ -1881,6 +1883,8 @@ Phaser.BitmapData.prototype = {
18811883
ctx.fillText(text, x, y);
18821884

18831885
ctx.font = prevFont;
1886+
1887+
return this;
18841888

18851889
},
18861890

0 commit comments

Comments
 (0)