From fcad93b6497a6db5ab4958f3c05dfeb26b7c0600 Mon Sep 17 00:00:00 2001 From: Shraddha <shraddharaghuram@student.tudelft.nl> Date: Thu, 5 Sep 2024 09:14:19 +0000 Subject: [PATCH] change canvas height --- static/homepage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/homepage.js b/static/homepage.js index 337fbe9..e9d935d 100644 --- a/static/homepage.js +++ b/static/homepage.js @@ -185,7 +185,7 @@ function draw(){ let scrTop = document.documentElement.scrollTop; var canvas = document.getElementById("tutorial") canvas.width = 1300; - canvas.height = 10000; + canvas.height = 8000; let cvs_h = canvas.getBoundingClientRect().top + scrTop; let cur_h = document.documentElement.clientHeight / 1.8 + scrTop; top_screen = Math.floor(-canvas.getBoundingClientRect().top); -- GitLab