Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I-12947 node canvas #3

Merged
merged 12 commits into from
May 30, 2024
Prev Previous commit
Next Next commit
adjust pdfjs for latest version
  • Loading branch information
cameroncaci committed May 29, 2024
commit 096a92604877cf6e3eff63d30c95eeaa40fba878
4 changes: 1 addition & 3 deletions src/components/drivers/pdf-viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

import React from 'react'
import VisibilitySensor from 'react-visibility-sensor'
import { PDFJS } from 'pdfjs-dist/build/pdf.combined'
import 'pdfjs-dist/web/compatibility'
import * as PDFJS from 'pdfjs-dist';

PDFJS.disableWorker = true
const INCREASE_PERCENTAGE = 0.2
const DEFAULT_SCALE = 1.1

Expand Down