Make bright the default for xkcds

This commit is contained in:
Joscha 2025-03-19 13:19:14 +01:00
parent c4c6887603
commit 711fed91c9
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ const form = useTemplateRef<HTMLFormElement>("form");
const number = ref<number>(); const number = ref<number>();
const dither = ref(true); const dither = ref(true);
const bright = ref(false); const bright = ref(true);
const feed = ref(true); const feed = ref(true);
function submit() { function submit() {

View file

@ -66,7 +66,7 @@ pub async fn post(server: State<Server>, Form(form): Form<FormData>) -> somehow:
image, image,
max_width, max_width,
max_height, max_height,
form.bright.unwrap_or(false), form.bright.unwrap_or(true),
"stucki", "stucki",
) )
.map_err(somehow::Error)?; .map_err(somehow::Error)?;