summaryrefslogtreecommitdiff
path: root/src/simple-scan.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:41 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:41 +0200
commita53bf1437c2f6c540647235dd0a768f82a2359aa (patch)
tree07f65a7ef910b50e9ada4b0f3728bd63130c9b25 /src/simple-scan.vala
parentba1de83ca246862cc302f30d452fba22a4dfc085 (diff)
parentb8895cd64388230fb276d32761b39f0edd3a689b (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r--src/simple-scan.vala3
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);
}