mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Tweak/unbreak my CPUFreq experiment (#4119)
* Only switch to ondemand when we actually can, and when it's better than the current governor... This potentially leaves Mk.5 in the lurch, but there's no perfect solution there :/. * Switch to UI for the unmark event of navigation hints markers Might help on non-REAGL devices, and doesn't hurt there (re #3983). * Switch SQLite DBs to WAL Sounds nice in theory, behaves fine in practice.
This commit is contained in:
@@ -497,7 +497,7 @@ function ReaderRolling:onGotoXPointer(xp, marker_xp)
|
||||
-- documents): we drew our black marker in the margin, we
|
||||
-- can just draw a white one to make it disappear
|
||||
Screen.bb:paintRect(0, screen_y, marker_w, marker_h, Blitbuffer.COLOR_WHITE)
|
||||
Screen["refreshFast"](Screen, 0, screen_y, marker_w, marker_h)
|
||||
Screen["refreshUI"](Screen, 0, screen_y, marker_w, marker_h)
|
||||
end
|
||||
UIManager:scheduleIn(marker_setting, self.unmark_func)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user