diff --git a/site/templates/home.php b/site/templates/home.php index 48ca8bd..0728db7 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -25,7 +25,7 @@ function setupCanvas(canvas) { const ctx = canvas.getContext('2d') ctx.scale(dpr, dpr) - if (canvas.width > 750) { + if ((canvas.width / dpr) > 750) { small = NORMAL_SMALL big = NORMAL_BIG } else {