mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Actually do what the comment says.
Don't hijack forced partial updates (i.e., from UI elements) on always FULL REAGL devices. It doesn't implode if we don't, and it makes for a snappier UI.
This commit is contained in:
@@ -240,6 +240,12 @@ function ReaderHighlight:onHold(arg, ges)
|
||||
table.insert(boxes, self.selected_word.sbox)
|
||||
self.view.highlight.temp[self.hold_pos.page] = boxes
|
||||
end
|
||||
--[[
|
||||
UIManager.update_regions_func = function()
|
||||
DEBUG("update ReaderHighlight onHold region", self.selected_word.sbox)
|
||||
return {self.selected_word.sbox}
|
||||
end
|
||||
--]]
|
||||
UIManager:setDirty(self.dialog, "partial")
|
||||
end
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user