mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
The TextStyle.resolution
property is no longer read from the Game Config. You can still set it via the Text Style config to a value other than 1, but it will default to this now.
This commit is contained in:
parent
0acdf4373f
commit
d6f5aabb7e
1 changed files with 15 additions and 15 deletions
|
@ -240,10 +240,10 @@ var Text = new Class({
|
|||
*/
|
||||
this.dirty = false;
|
||||
|
||||
// If resolution wasn't set, then we get it from the game config
|
||||
// If resolution wasn't set, force it to 1
|
||||
if (this.style.resolution === 0)
|
||||
{
|
||||
this.style.resolution = scene.sys.game.config.resolution;
|
||||
this.style.resolution = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue