From 324a9d10cada2eb61d0dbf2cff5c3f65aa709c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 2 Nov 2021 19:11:40 +0100 Subject: [PATCH] Set default scale to be 125% --- resources/js/clients/shared/pdf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/clients/shared/pdf.js b/resources/js/clients/shared/pdf.js index c4b4dce3f521..245789b0b45c 100644 --- a/resources/js/clients/shared/pdf.js +++ b/resources/js/clients/shared/pdf.js @@ -15,11 +15,11 @@ class PDF { this.context = canvas.getContext('2d'); this.currentPage = 1; this.maxPages = 1; - this.currentScale = 0.75; + this.currentScale = 1.25; this.currentScaleText = document.getElementById('zoom-level'); if (matchMedia('only screen and (max-width: 480px)').matches) { - this.currentScale = 0.5; + this.currentScale = 1.25; } this.currentScaleText.textContent = this.currentScale * 100 + '%';