diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-08-24 21:23:55 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-08-24 21:23:55 +0200 |
commit | 459bdf5dc26593c96be4a3178fd5887de6ec4ded (patch) | |
tree | 70a1240f20e750bf7eebc352278f6c987d7fb87a /src/simple-scan.vala | |
parent | adb21854d19dd75df7ee1f38be3edec9ee66c825 (diff) | |
parent | 4406507507a7fb2fc0826e0ec657b548826fac51 (diff) |
Merge branch 'release/debian/3.36.4-1' into masterdebian/3.36.4-1
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r-- | src/simple-scan.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala index fc9b101..771dc82 100644 --- a/src/simple-scan.vala +++ b/src/simple-scan.vala @@ -1536,7 +1536,8 @@ public class SimpleScan : Gtk.Application debug ("Requesting scan at %d dpi from device '%s'", options.dpi, device); if (!scanner.is_scanning ()) - append_page (options.paper_width, options.paper_height, options.dpi); + // We need to add +1 to avoid visual glitches, fixes: #179 + append_page (options.paper_width + 1, options.paper_height + 1, options.dpi + 1); scanner.scan (device, options); } |