Skip to content

Commit

Permalink
update usage of getViewport
Browse files Browse the repository at this point in the history
  • Loading branch information
lorado committed Sep 11, 2019
1 parent 0ae0890 commit ab55cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pdfvuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default {
container: container,
id: self.page,
scale: 1,
defaultViewport: pdfPage.getViewport(1),
defaultViewport: pdfPage.getViewport({scale: 1}),
// We can enable text/annotations layers, if needed
textLayerFactory: textLayer,
annotationLayerFactory: annotationLayer,
Expand Down

0 comments on commit ab55cf3

Please sign in to comment.