Skip to content

Commit 04d8d81

Browse files
committed
fix: enable pinch-to-zoom by adding pinch-zoom to touch-action
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent fb06235 commit 04d8d81

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@libresign/pdf-elements",
33
"description": "PDF viewer with draggable and resizable element overlays for Vue 3",
4-
"version": "1.2.2",
4+
"version": "1.2.3",
55
"author": "LibreCode <contact@librecode.coop>",
66
"private": false,
77
"main": "dist/index.mjs",

src/components/PDFElements.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ export default defineComponent({
13051305
overflow-y: auto;
13061306
overflow-x: auto;
13071307
box-sizing: border-box;
1308-
touch-action: pan-x pan-y;
1308+
touch-action: pan-x pan-y pinch-zoom;
13091309
-webkit-overflow-scrolling: touch;
13101310
}
13111311
.pages-container {

0 commit comments

Comments
 (0)