diff --git a/html/index.html b/html/index.html
index 75df17b..422596a 100644
--- a/html/index.html
+++ b/html/index.html
@@ -73,7 +73,6 @@
for (let i = 0; i < converted.length; i ++)
imgData.data[i] = converted[i]
- console.log(imgData.data)
redraw();
break;
case 1:
@@ -199,7 +198,10 @@
}
function changeColor(color) {
if (color == undefined) currentColor = colorInput.value;
- else currentColor = color
+ else {
+ currentColor = color
+ colorInput.value = color
+ }
}