v0.12.0-preety_code

This commit is contained in:
Mateusz Gruszczyński
2026-09-03 15:33:37 +02:00
parent be67932b47
commit 07be4b85d9
87 changed files with 11691 additions and 3172 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ function prepareCanvas(canvas, height) {
canvas.style.width = `${width}px`; canvas.style.height = `${actualHeight}px`;
const ctx = canvas.getContext('2d'); ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
ctx.clearRect(0, 0, width, actualHeight);
return { ctx, width, height:actualHeight };
return { ctx, width, height: actualHeight };
}
function drawEmptyChart(canvas, height = 340) {