mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Tweak some comments
This commit is contained in:
@@ -280,7 +280,6 @@ function ReaderFooter:onTapFooter(arg, ges)
|
||||
h = self.height
|
||||
}
|
||||
UIManager.update_regions_func = function()
|
||||
DEBUG("update readerfooter region", region)
|
||||
return {region}
|
||||
end
|
||||
UIManager:setDirty(self.view.dialog, "partial")
|
||||
|
||||
@@ -118,7 +118,7 @@ function UIManager:init()
|
||||
self.partial_refresh_waveform_mode = NTX_WFM_MODE_GLD16
|
||||
-- Since Kobo doesn't have MXCFB_WAIT_FOR_UPDATE_SUBMISSION, enabling this currently has no effect :).
|
||||
self.wait_for_every_marker = true
|
||||
-- The H2O appears to be the odd duck... Nickel uses AUTO for PARTIAL updates instead of asking for REAGLD specifically...
|
||||
-- The H2O appears to be the odd duck out... Nickel uses AUTO for PARTIAL updates instead of asking for REAGLD specifically...
|
||||
-- For now, try asking for REAGLD, but don't switch them to FULL, since that triggers a black flash on the H2O...
|
||||
-- Strangely enough, if I follow the kernel sources correctly, and they aren't using dirty tricks (like enabling some switches at compile time...),
|
||||
-- PARTIAL, AUTO updates should default to NTX_WFM_MODE_GL16 on the H2O, which isn't REAGL at all, so, err, WTF?
|
||||
|
||||
@@ -2,7 +2,6 @@ local InputContainer = require("ui/widget/container/inputcontainer")
|
||||
local ImageWidget = require("ui/widget/imagewidget")
|
||||
local GestureRange = require("ui/gesturerange")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local DEBUG = require("dbg")
|
||||
|
||||
--[[
|
||||
Button with a big icon image! Designed for touch device
|
||||
@@ -42,7 +41,6 @@ end
|
||||
function IconButton:onTapClickButton()
|
||||
self.image.invert = true
|
||||
UIManager.update_regions_func = function()
|
||||
DEBUG("update iconbutton region", self[1].dimen)
|
||||
return {self[1].dimen}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user