From bfe213af7ae3b34d2fb29b9b6eb5c106bac2fc57 Mon Sep 17 00:00:00 2001 From: wphiphi <96982181+wphiphi@users.noreply.github.com> Date: Tue, 4 Jan 2022 15:34:18 +0100 Subject: [PATCH] dump to text support for show_Grey button --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 0d9c65d..b6fde59 100644 --- a/js/main.js +++ b/js/main.js @@ -305,7 +305,7 @@ function dump_qr_array() { let sz = qr_array.length; dump_qr = ""; for(let i=0;i x===1 ? 'X' : '_').join(''); + let line = qr_array[i].map(x => ( x===1 ? '#' : ( x===0 ? '_' : ( show_grey ? '?' : '_' ) ) ) ).join(''); console.log(line); dump_qr += line + "\n" }