Skip to content

Commit

Permalink
Merge pull request #115 from LibreSign/fix/expose-page-size
Browse files Browse the repository at this point in the history
fix: expose page size
  • Loading branch information
vitormattos authored Nov 17, 2024
2 parents 15d8379 + f289e79 commit 86cf20b
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 86cf20b

Please sign in to comment.