black and white palette
This commit is contained in:
parent
da04534fd9
commit
b3690c4dd7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue