Skip to content

Commit

Permalink
fix: expose page size
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Nov 17, 2024
1 parent 15d8379 commit f289e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@libresign/vue-pdf-editor",
"description": "vue2 pdf editor component",
"version": "1.4.1",
"version": "1.4.2",
"author": "LibreCode",
"private": false,
"main": "dist/vue-pdf-editor.umd.js",
Expand Down
2 changes: 2 additions & 0 deletions src/VuePdfEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@
<slot name="custom"
:object="object"
:pagesScale="pagesScale[pIndex]"
:page-width="pageSizes[pIndex + 1].width"
:page-height="pageSizes[pIndex + 1].height"
@onUpdate="updateObject(object.id, $event)"
@onDelete="deleteObject(object.id)" />
</div>
Expand Down

0 comments on commit f289e79

Please sign in to comment.