mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:14:28 -04:00
Set default scale to be 125%
This commit is contained in:
parent
a56fcc3872
commit
324a9d10ca
4
resources/js/clients/shared/pdf.js
vendored
4
resources/js/clients/shared/pdf.js
vendored
@ -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 + '%';
|
||||
|
Loading…
x
Reference in New Issue
Block a user