black and white palette

This commit is contained in:
Max Bradbury 2020-11-08 20:46:58 +00:00
parent da04534fd9
commit b3690c4dd7
1 changed files with 3 additions and 3 deletions

View File

@ -167,7 +167,7 @@ async function run() {
el('image').addEventListener('change', function () { el('image').addEventListener('change', function () {
readFile(this, function (e) { readFile(this, function (e) {
croppie.bind({url: e.target.result}); croppie.bind({url: e.target.result, zoom: 0});
divCroppie.style.display = "block"; divCroppie.style.display = "block";
buttonImageProceed.removeAttribute("disabled"); buttonImageProceed.removeAttribute("disabled");
}, "image"); }, "image");
@ -261,8 +261,8 @@ async function run() {
inputRoomName.value = ""; inputRoomName.value = "";
selectPalette.innerHTML = ""; selectPalette.innerHTML = "";
divNewPalette.style.display = "none"; divNewPalette.style.display = "none";
inputColourBackground.value = "#2f4ac9"; inputColourBackground.value = "#000";
inputColourForeground.value = "#8798fe"; inputColourForeground.value = "#fff";
checkboxDither.checked = true; checkboxDither.checked = true;
} }