Skip to content

Commit

Permalink
Error: response too big for into_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Sep 28, 2024
1 parent 6545fe4 commit 13f9c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/renderer/src/render/canvas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ mod tests {
session.set_pixel_per_pt(3.);

let sizes = &session.pages_info;
canvas.set_width((sizes.width() * 32.).ceil() as u32);
canvas.set_height((sizes.height() * 32.).ceil() as u32);
canvas.set_width((sizes.width() * 10.).ceil() as u32);
canvas.set_height((sizes.height() * 10.).ceil() as u32);

let context: web_sys::CanvasRenderingContext2d = canvas
.get_context("2d")
Expand Down

0 comments on commit 13f9c8d

Please sign in to comment.