middle click chages input field
This commit is contained in:
parent
2730b6d871
commit
a8c32d7051
|
@ -73,7 +73,6 @@
|
||||||
|
|
||||||
for (let i = 0; i < converted.length; i ++)
|
for (let i = 0; i < converted.length; i ++)
|
||||||
imgData.data[i] = converted[i]
|
imgData.data[i] = converted[i]
|
||||||
console.log(imgData.data)
|
|
||||||
redraw();
|
redraw();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -199,7 +198,10 @@
|
||||||
}
|
}
|
||||||
function changeColor(color) {
|
function changeColor(color) {
|
||||||
if (color == undefined) currentColor = colorInput.value;
|
if (color == undefined) currentColor = colorInput.value;
|
||||||
else currentColor = color
|
else {
|
||||||
|
currentColor = color
|
||||||
|
colorInput.value = color
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue