KOptOptions: Allow toggling SW dithering

Fix #8748
This commit is contained in:
NiLuJe
2022-02-05 19:49:13 +01:00
parent b2ef81527b
commit 3122bcd9bc
5 changed files with 35 additions and 8 deletions

View File

@@ -221,7 +221,7 @@ function ReaderView:paintTo(bb, x, y)
self.dialog.dithered = nil
-- For KOpt, let the user choose.
if self.ui.document.info.has_pages then
-- Also enforce dithering in PicDocument
-- Also enforce HW dithering in PicDocument
if self.ui.document.is_pic or self.document.configurable.hw_dithering == 1 then
self.dialog.dithered = true
end