From 041f11cba0334ec7a660948ac12f58bcfa9ea11d Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Tue, 11 Nov 2014 02:42:07 +0100 Subject: [PATCH] Tweak some comments --- frontend/apps/reader/modules/readerfooter.lua | 1 - frontend/ui/uimanager.lua | 2 +- frontend/ui/widget/iconbutton.lua | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/apps/reader/modules/readerfooter.lua b/frontend/apps/reader/modules/readerfooter.lua index 0e9b8ab56..fc82b6649 100644 --- a/frontend/apps/reader/modules/readerfooter.lua +++ b/frontend/apps/reader/modules/readerfooter.lua @@ -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") diff --git a/frontend/ui/uimanager.lua b/frontend/ui/uimanager.lua index 7f3cc26aa..9dc6a9c0c 100644 --- a/frontend/ui/uimanager.lua +++ b/frontend/ui/uimanager.lua @@ -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? diff --git a/frontend/ui/widget/iconbutton.lua b/frontend/ui/widget/iconbutton.lua index 936ca1e0c..1079acf24 100644 --- a/frontend/ui/widget/iconbutton.lua +++ b/frontend/ui/widget/iconbutton.lua @@ -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