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

scene loadImages bug

Open imdfl opened this issue 4 years ago • 0 comments

Hi, if you're still tracking this repo - I'm using your lib (needed something less monstrous than spritesjs) and a bug in loadImages bit me. I fixed it, lmk if you want to apply the fix. In a nutshell, the callback is called too soon if the sprite is already in the cache but being loaded.

imdfl avatar May 30 '20 10:05 imdfl