Skip to content

Commit

Permalink
yarn gcm
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jan 31, 2025
1 parent 5f37a5b commit a02f80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function PDFTryParse(
pages.push(p)

if (createCanvas) {
const viewport = page.getViewport({ scale: PDF_SCALE })
const viewport = page.getViewport({ scale })
const canvas = await createCanvas(
viewport.width,
viewport.height
Expand Down

0 comments on commit a02f80b

Please sign in to comment.