middle click chages input field
This commit is contained in:
		| @@ -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 | ||||
|             } | ||||
|         } | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user