Text.fontPropertiesCanvas no longer uses a CanvasPool entry.

This commit is contained in:
Richard Davey 2016-07-06 20:59:28 +01:00
parent 3642ff0489
commit 33150018ad

View file

@ -2288,5 +2288,5 @@ Object.defineProperty(Phaser.Text.prototype, 'height', {
Phaser.Text.fontPropertiesCache = {};
Phaser.Text.fontPropertiesCanvas = PIXI.CanvasPool.create(Phaser.Text.fontPropertiesCanvas);
Phaser.Text.fontPropertiesCanvas = document.createElement('canvas');
Phaser.Text.fontPropertiesContext = Phaser.Text.fontPropertiesCanvas.getContext('2d');