[fractal] qr-code: Reduce block size to better fit on mobile
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] qr-code: Reduce block size to better fit on mobile
- Date: Thu, 16 Jun 2022 10:15:25 +0000 (UTC)
commit 6628c48398342f15269d99a2fa153a5fee213a43
Author: Marco Melorio <marco melorio protonmail com>
Date: Wed Jun 15 20:07:53 2022 +0200
qr-code: Reduce block size to better fit on mobile
Fixes #997.
src/contrib/qr_code.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contrib/qr_code.rs b/src/contrib/qr_code.rs
index 68902054d..782854639 100644
--- a/src/contrib/qr_code.rs
+++ b/src/contrib/qr_code.rs
@@ -27,7 +27,7 @@ pub(crate) mod imp {
fn new() -> Self {
Self {
- block_size: Cell::new(8),
+ block_size: Cell::new(6),
..Self::default()
}
}
@@ -47,7 +47,7 @@ pub(crate) mod imp {
"block-size",
1,
u32::MAX,
- 8,
+ 6,
glib::ParamFlags::READWRITE | glib::ParamFlags::EXPLICIT_NOTIFY,
)]
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]