spritely
spritely copied to clipboard
onload initialize the first sprite
When we import an existing sprite sheet, we should initialize the canvas with the first image. Otherwise, you might overwrite the first sprite in the sprite sheet on accident if you don't select a sprite first.
To reproduce this issue,
- create some sprites
- save the sprite sheet by pressing ctrl+s
- close spritely and reopen
- load a spritesheet by pressing ctrl+o
- after loading the spritesheet click someone on the canvas
the existing sprite will be replaced with whatever is on the canvas
Hi @dfirebaugh Would like to contribute to this proect. Could you please assign this issue to me?