@netless/app-slide 0.2.39-alpha.0 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netless/app-slide",
3
- "version": "0.2.39-alpha.0",
3
+ "version": "0.2.39",
4
4
  "main": "dist/main.cjs.js",
5
5
  "module": "dist/main.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -318,7 +318,7 @@ export class SlideDocsViewer {
318
318
 
319
319
  const whiteSnapshotCanvas = document.createElement("canvas");
320
320
  whiteSnapshotCanvas.width = pdfWidth;
321
- whiteSnapshotCanvas.height = pdfWidth;
321
+ whiteSnapshotCanvas.height = pdfHeight;
322
322
  const whiteCtx = whiteSnapshotCanvas.getContext("2d");
323
323
  if (!whiteCtx || !this.getWhiteSnapshot || !resizeCtx) {
324
324
  this.reportProgress(100, null);