diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue index b46ecae3a..483db281f 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DocumentSignature/App.vue @@ -40,23 +40,23 @@ {{ z.label.fr }} - +
{{ $t("cancel") }} -
@@ -125,23 +132,23 @@ {{ z.label.fr }} - +
{{ $t("cancel") }} -
-
- +
+
@@ -648,11 +665,11 @@ const addZoneEvent = async (e: PointerEvent, canvas: HTMLCanvasElement) => { scaleXToCanvas(x, canvas.width, PDFPageWidth) - scaleXToCanvas(BOX_WIDTH / 2, canvas.width, PDFPageWidth), y: - PDFPageHeight - + PDFPageHeight * zoom.value - scaleYToCanvas(y, canvas.height, PDFPageHeight) + scaleYToCanvas(BOX_HEIGHT / 2, canvas.height, PDFPageHeight), - width: BOX_WIDTH, - height: BOX_HEIGHT, + width: BOX_WIDTH * zoom.value, + height: BOX_HEIGHT * zoom.value, PDFPage: { index: page.value - 1, width: PDFPageWidth, @@ -683,11 +700,11 @@ init(); } .onAddZone { - cursor: not-allowed; + cursor: not-allowed; - #canvas { - cursor: copy; - } + #canvas { + cursor: copy; + } } div#action-buttons {