A few minor fixes after #4541 (#4561)

* Enforce dithering in PicDocument
* Ensure we'll get a flashing update on ScreenSaver exit
This commit is contained in:
NiLuJe
2019-02-08 18:31:40 +01:00
committed by GitHub
parent 1cc32362aa
commit abc6d17a25
3 changed files with 8 additions and 3 deletions

View File

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