Skip to content

Commit 1103681

Browse files
chore: remove unused binds
1 parent 942e8fd commit 1103681

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/VuePdfEditor.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@
114114
<div class="w-full" style="text-align: center;">
115115
<div style="display: inline-block;">
116116
<div class="p-5 items-center"
117-
style="text-align: center"
118-
@mousedown="selectPage(currentPage)"
119-
@touchstart="selectPage(currentPage)">
117+
style="text-align: center">
120118
<div style="display: inline-block;"
121119
class="relative shadow-lg">
122120
<PDFPage :ref="`page${currentPage}`"
@@ -625,10 +623,6 @@ export default {
625623
this.currentFont = name
626624
},
627625
628-
selectPage(index) {
629-
this.currentPage = index
630-
},
631-
632626
updateObject(objectId, payload) {
633627
this.allObjects = this.allObjects.map((objects, pIndex) =>
634628
pIndex === (payload.currentPage !== undefined ? payload.currentPage : this.currentPage)

0 commit comments

Comments
 (0)