Update main.js

This commit is contained in:
qrhlhplhp 2022-10-28 15:05:10 +09:00 committed by GitHub
parent 6a5f16fab2
commit d747bb37ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ let x = 0;
let y = 0; let y = 0;
let t =false; let t =false;
let color = "#000000"; let color = "#000000";
let bold = 50; let bold = 10;
let image = new Image(); let image = new Image();
canvas.width = 1920; canvas.width = 1920;
@ -60,7 +60,6 @@ const end = e => {
colorele.addEventListener('change', e => { colorele.addEventListener('change', e => {
color = e.target.value; color = e.target.value;
}); });
rangele.addEventListener('change', e => { rangele.addEventListener('change', e => {
bold = e.target.value; bold = e.target.value;
}); });