spritesheet.js icon indicating copy to clipboard operation
spritesheet.js copied to clipboard

Weird offset on transparent image with trim.

Open ninnghazad opened this issue 8 years ago • 0 comments

including a completely transparent image and using the trim option results in this:

"space.png":
               {
                        "frame": {"x":182,"y":18,"w":1,"h":1},
                        "rotated": false,
                        "trimmed": true,
                        "spriteSourceSize": {"x":4294967294,"y":4294967294,"w":1,"h":1},
                        "sourceSize": {"w":9,"h":34}
                },

note the x/y of spriteSourceSize.

ninnghazad avatar Jun 03 '16 14:06 ninnghazad