diff --git a/javascript/commons/ExportImage.js b/javascript/commons/ExportImage.js index 406fe2ae427..face7d00216 100644 --- a/javascript/commons/ExportImage.js +++ b/javascript/commons/ExportImage.js @@ -437,7 +437,7 @@ class ExportService { element.style.background = backgroundColor; const capturedCanvas = await html2canvas( element, { - scale: 1, + scale: window.devicePixelRatio || 1, windowWidth: document.documentElement.scrollWidth, windowHeight: document.documentElement.scrollHeight, scrollX: 0,