Reset opacity of grid item on erase
This commit is contained in:
parent
a94e989f5f
commit
005c9afc73
1 changed files with 1 additions and 0 deletions
|
|
@ -270,6 +270,7 @@ function colorGrid() {
|
||||||
this.style.backgroundColor = "rgb(255, 255, 255)";
|
this.style.backgroundColor = "rgb(255, 255, 255)";
|
||||||
} else if (isErase) {
|
} else if (isErase) {
|
||||||
this.style.backgroundColor = "";
|
this.style.backgroundColor = "";
|
||||||
|
this.style.opacity = 0.9;
|
||||||
} else {
|
} else {
|
||||||
this.style.backgroundColor = colorPicker.value;
|
this.style.backgroundColor = colorPicker.value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue