v0.12.0-preety_code
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user