fix: remove duplicate function, closing #39

This commit is contained in:
javl
2021-06-11 10:36:22 +02:00
parent fc6f911516
commit 101464d201
-14
View File
@@ -685,20 +685,6 @@
}
}
function updateDrawMode(elm) {
var note = document.getElementById("note1bit");
if(elm.value == "horizontal1bit" || elm.value == "vertical1bit") {
note.style.display = "block";
} else {
note.style.display = "none";
}
var conversionFunction = ConversionFunctions[elm.value];
if(conversionFunction) {
settings.conversionFunction = conversionFunction;
}
}
// Make the canvas black and white
function blackAndWhite(canvas, ctx){
var imageData = ctx.getImageData(0,0,canvas.width, canvas.height);