Remove DSCROLL_MODE and DGLOBALGAMMA (#5754)
This commit is contained in:
1 parent
d9b37a1794
commit
73a0f2f9d1
5 files changed
+35
-20
No files matched your search
@@ -761,7 +761,7 @@ function ReaderView:onReadSettings(config)
|
||||
Screen:setScreenMode(screen_mode)
|
||||
self:onSetScreenMode(screen_mode, config:readSetting("rotation_mode"), true)
|
||||
end
|
||||
self.state.gamma = config:readSetting("gamma") or DGLOBALGAMMA
|
||||
self.state.gamma = config:readSetting("gamma") or 1.0
|
||||
local full_screen = config:readSetting("kopt_full_screen") or self.document.configurable.full_screen
|
||||
if full_screen == 0 then
|
||||
self.footer_visible = false
|
||||
|
||||
Reference in new issue
Block a user