mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Fixing code style and making console warning more concise
This commit is contained in:
parent
cca6dd605c
commit
5c853c640f
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ var SpriteSheet = function (texture, sourceIndex, x, y, width, height, config)
|
||||||
|
|
||||||
if (total === 0)
|
if (total === 0)
|
||||||
{
|
{
|
||||||
console.warn('TextureManager.SpriteSheet: Frame config produces zero frames. Check frameWidth and frameHeight.');
|
console.warn('SpriteSheet frame dimensions will result in zero frames.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (startFrame > total || startFrame < -total)
|
if (startFrame > total || startFrame < -total)
|
||||||
|
|
Loading…
Reference in a new issue