From d747bb37acf882ebeb21d24c256cf573c704adba Mon Sep 17 00:00:00 2001 From: qrhlhplhp <80515002+qrhlhplhp@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:05:10 +0900 Subject: [PATCH] Update main.js --- pain/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pain/main.js b/pain/main.js index b602f6d..352dd94 100644 --- a/pain/main.js +++ b/pain/main.js @@ -12,7 +12,7 @@ let x = 0; let y = 0; let t =false; let color = "#000000"; -let bold = 50; +let bold = 10; let image = new Image(); canvas.width = 1920; @@ -60,7 +60,6 @@ const end = e => { colorele.addEventListener('change', e => { color = e.target.value; }); - rangele.addEventListener('change', e => { bold = e.target.value; }); @@ -125,4 +124,4 @@ function fixPosY(posY){ } function pain(){ ctx.drawImage(image, 0, 0, canvas.width, canvas.height); -} \ No newline at end of file +}