document: fix another background_cleanup check (#15648)
Cf. https://github.com/koreader/koreader/pull/15644#issuecomment-4901852542.
This commit is contained in:
1 parent
0d5a2724a5
commit
cc63764721
1 file changed
+1
-1
@@ -508,7 +508,7 @@ function Document:renderPage(pageno, rect, zoom, rotation, gamma, saturation, hi
|
||||
dc:setSaturation(saturation)
|
||||
end
|
||||
|
||||
dc:setBackgroundCleanup(self.configurable.background_cleanup ~= 0)
|
||||
dc:setBackgroundCleanup((self.configurable.background_cleanup or 0) ~= 0)
|
||||
|
||||
-- And finally, render the page in our BB
|
||||
local page = self._document:openPage(pageno)
|
||||
|
||||
Reference in new issue
Block a user