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