spritely icon indicating copy to clipboard operation
spritely copied to clipboard

[Bug] The first sprite is not drew on the canvas at spritesheet onload event

Open tom-vthptvh opened this issue 6 years ago • 0 comments

Commit 003ea3e47d04473962ca51e7e6b075a2d6879fb4 seems to change the execution order of the code https://github.com/dfirebaugh/spritely/commit/003ea3e47d04473962ca51e7e6b075a2d6879fb4#diff-4e093a841945dbf8be8c796a59417ab7bae7c5a30e6bf79eefc94701bd0ba44aR208-R211

        case OPEN_FILE:
            open_file(lshift);
            tool_sprite_selection(0);
            break;

↓↓↓

void draw_tool_handle_open_file()
{
    tool_sprite_selection(0);
    open_file();
}

The first sprite is no longer drew on the canvas at spritesheet onload event.

tom-vthptvh avatar Oct 27 '20 18:10 tom-vthptvh