Reset opacity of grid item on erase

This commit is contained in:
lolabird 2023-11-28 04:22:12 -07:00
commit 005c9afc73

View file

@ -270,6 +270,7 @@ function colorGrid() {
this.style.backgroundColor = "rgb(255, 255, 255)";
} else if (isErase) {
this.style.backgroundColor = "";
this.style.opacity = 0.9;
} else {
this.style.backgroundColor = colorPicker.value;
}