Skip to content

Commit 615d1b6

Browse files
committed
Merge pull request phaserjs#1026 from lucbloom/spritesheet-report-key
Report key when failing
2 parents 053f862 + 7498e6a commit 615d1b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/animation/AnimationParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Phaser.AnimationParser = {
5959
// Zero or smaller than frame sizes?
6060
if (width === 0 || height === 0 || width < frameWidth || height < frameHeight || total === 0)
6161
{
62-
console.warn("Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight");
62+
console.warn("Phaser.AnimationParser.spriteSheet: '" + key + "'s width/height zero or width/height < given frameWidth/frameHeight");
6363
return null;
6464
}
6565

0 commit comments

Comments
 (0)