[fractal] qr-code: Reduce block size to better fit on mobile



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]