mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Text.fontPropertiesCanvas no longer uses a CanvasPool entry.
This commit is contained in:
parent
3642ff0489
commit
33150018ad
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue