Merge pull request #2634 from greeny/hotfix-bitmapdata-fluent

BitmapData.js: fixed fluent interface
This commit is contained in:
Richard Davey 2016-07-17 11:20:40 +01:00 committed by GitHub
commit 0765e9eaa6

View file

@ -1730,6 +1730,8 @@ Phaser.BitmapData.prototype = {
ctx.shadowOffsetX = x || 10;
ctx.shadowOffsetY = y || 10;
}
return this;
},
@ -1881,6 +1883,8 @@ Phaser.BitmapData.prototype = {
ctx.fillText(text, x, y);
ctx.font = prevFont;
return this;
},