Skip to content
Snippets Groups Projects
  • Paul Kaplan's avatar
    40a5ff78
    Fix loading single frame gifs by removing onDone in favor of indices · 40a5ff78
    Paul Kaplan authored
    Because the `onFrame` callback could do async work, it was possible for onDone to try to submit the costumes before the onFrame had produced any. This was subject to browsers different timing treatments of setTimeout vs. promise resolution. This makes the gif-decoder use the same style of progress API as the file uploader
    40a5ff78
    History
    Fix loading single frame gifs by removing onDone in favor of indices
    Paul Kaplan authored
    Because the `onFrame` callback could do async work, it was possible for onDone to try to submit the costumes before the onFrame had produced any. This was subject to browsers different timing treatments of setTimeout vs. promise resolution. This makes the gif-decoder use the same style of progress API as the file uploader
Code owners
Assign users and groups as approvers for specific file changes. Learn more.