Add more indicators that tools are currently active

This commit is contained in:
lolabird 2023-11-13 02:23:14 -07:00
commit b3f7137d85
2 changed files with 17 additions and 1 deletions

View file

@ -240,6 +240,9 @@ function colorGrid() {
function changeColor() {
const buttonID = this.id;
buttons.forEach(btn => btn.classList.remove("is-active"));
this.classList.add("is-active");
if (buttonID === "rgbColor") {
isRgb = true;
} else {