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 ++)
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue