Skip to content

Commit

Permalink
Merge pull request #118 from LibreSign/fix/send-canvas-width-to-compo…
Browse files Browse the repository at this point in the history
…nent

fix: send canvas width to component
  • Loading branch information
vitormattos authored Nov 18, 2024
2 parents 5b472ef + 0af6515 commit 0e5e816
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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.3",
"version": "1.4.4",
"author": "LibreCode",
"private": false,
"main": "dist/vue-pdf-editor.umd.js",
Expand Down
4 changes: 2 additions & 2 deletions src/VuePdfEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
<slot name="custom"
:object="object"
:pagesScale="pagesScale[pIndex]"
:page-width="pageSizes[pIndex + 1].width"
:page-height="pageSizes[pIndex + 1].height"
:canvas-width="object.canvasWidth"
:canvas-height="object.canvasHeight"
@onUpdate="updateObject(object.id, $event)"
@onDelete="deleteObject(object.id)" />
</div>
Expand Down

0 comments on commit 0e5e816

Please sign in to comment.