diff --git a/showbits-thermal-printer-ui/src/components/CDocumentXkcd.vue b/showbits-thermal-printer-ui/src/components/CDocumentXkcd.vue index 564057f..51ee01e 100644 --- a/showbits-thermal-printer-ui/src/components/CDocumentXkcd.vue +++ b/showbits-thermal-printer-ui/src/components/CDocumentXkcd.vue @@ -8,7 +8,7 @@ const form = useTemplateRef("form"); const number = ref(); const dither = ref(true); -const bright = ref(false); +const bright = ref(true); const feed = ref(true); function submit() { diff --git a/showbits-thermal-printer/src/documents/xkcd/mod.rs b/showbits-thermal-printer/src/documents/xkcd/mod.rs index cac5e86..8c8e305 100644 --- a/showbits-thermal-printer/src/documents/xkcd/mod.rs +++ b/showbits-thermal-printer/src/documents/xkcd/mod.rs @@ -66,7 +66,7 @@ pub async fn post(server: State, Form(form): Form) -> somehow: image, max_width, max_height, - form.bright.unwrap_or(false), + form.bright.unwrap_or(true), "stucki", ) .map_err(somehow::Error)?;