Merge pull request #51 from imsyf/master
Set color picker default value to black
This commit is contained in:
commit
773d1f3554
@ -9,7 +9,8 @@ const ctx = canvas.getContext('2d');
|
||||
|
||||
let size = 10
|
||||
let isPressed = false
|
||||
let color = 'black'
|
||||
colorEl.value = 'black'
|
||||
let color = colorEl.value
|
||||
let x
|
||||
let y
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user