diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-05-26 20:12:10 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-05-26 20:12:10 +0200 |
commit | 7d56e505d4c0213867640cfc53345324a9e3c9e7 (patch) | |
tree | 42c0abf1a3cca07f54c4eea9cf45983e840683e8 /src/app-window.vala | |
parent | b83216ded28de014bf2c543df8519dbc984deb59 (diff) | |
parent | 3a91d1ee11d4ea173fa1247059b7036056c12bd0 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/app-window.vala')
-rw-r--r-- | src/app-window.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app-window.vala b/src/app-window.vala index 0e25f8d..446353d 100644 --- a/src/app-window.vala +++ b/src/app-window.vala @@ -919,13 +919,14 @@ public class AppWindow : Gtk.ApplicationWindow { options.scan_mode = ScanMode.GRAY; options.dpi = preferences_dialog.get_text_dpi (); + options.depth = 2; } else { options.scan_mode = ScanMode.COLOR; options.dpi = preferences_dialog.get_photo_dpi (); + options.depth = 8; } - options.depth = 8; preferences_dialog.get_paper_size (out options.paper_width, out options.paper_height); options.brightness = brightness; options.contrast = contrast; |