From ef4ffb30abf51be619a11ac0e1d555f42a3223ea Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:11:37 -0300 Subject: [PATCH] fix: position of elements with zoom Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/components/PDFElements.vue | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/src/components/PDFElements.vue b/src/components/PDFElements.vue index 4761791..91cf074 100644 --- a/src/components/PDFElements.vue +++ b/src/components/PDFElements.vue @@ -8,7 +8,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
@@ -55,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later :key="object.id" :ref="`draggable${docIndex}-${pIndex}-${object.id}`" :object="object" - :pages-scale="getRenderPageScale(docIndex, pIndex)" + :pages-scale="getDisplayedPageScale(docIndex, pIndex)" :page-width="getPageWidth(docIndex, pIndex)" :page-height="getPageHeight(docIndex, pIndex)" :read-only="readOnly" @@ -136,7 +135,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later