Skip to content

Commit

Permalink
off by one error when caching animation frames
Browse files Browse the repository at this point in the history
  • Loading branch information
LGFae committed May 11, 2024
1 parent 0f7aa70 commit 5049a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/src/ipc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl ImageRequestBuilder {
self.serialize_bytes(output.as_bytes());
}

let animation_start = self.len;
let animation_start = self.len + 1;
if let Some(animation) = animation.as_ref() {
self.push_byte(1);
animation.serialize(self);
Expand Down

0 comments on commit 5049a20

Please sign in to comment.