From b3690c4dd7e45d443a2278c14c3adc0e56978d24 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 8 Nov 2020 20:46:58 +0000 Subject: [PATCH] black and white palette --- script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.js b/script.js index fc22e0f..f25a16e 100644 --- a/script.js +++ b/script.js @@ -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; }