diff --git a/client/js/canvas.js b/client/js/canvas.js index 5747397..6772241 100644 --- a/client/js/canvas.js +++ b/client/js/canvas.js @@ -271,7 +271,7 @@ const resizeHandler = () => { canvas.width = window.innerWidth * dpr; canvas.height = (window.innerHeight - rect.height) * dpr; canvas.style.width = `${window.innerWidth}px`; - canvas.style.height = `${window.innerHeight - rect.height}px`; + canvas.style.height = `${window.innerHeight - rect.height - 1}px`; ctx.restore(); ctx.save();