From dbbce5aaa1ed60c820fdcfe6f94f799109435a99 Mon Sep 17 00:00:00 2001
From: Shraddha <shraddharaghuram@student.tudelft.nl>
Date: Fri, 6 Sep 2024 09:50:37 +0000
Subject: [PATCH] Update file homepage.js

---
 static/homepage.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/static/homepage.js b/static/homepage.js
index 0690bfd..181aaf5 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 = 4000;
+    canvas.height = 2000;
     let cvs_h = canvas.getBoundingClientRect().top + scrTop;
     let cur_h = document.documentElement.clientHeight / 1.8 + scrTop;
     top_screen = Math.floor(-canvas.getBoundingClientRect().top);
@@ -249,7 +249,7 @@ function draw(){
 
     
     var centerX = canvas.width / 2;  
-    verticalLine(centerX, 200, 4000, ctx, canvas_h);
+    verticalLine(centerX, 200, 2000, ctx, canvas_h);
 
     circularArc(centerX - 30, 1600, ctx, canvas_h, 3, 0);
 
-- 
GitLab