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:
1 parent
3ce10b697a
commit
656a2c7cb6
2 files changed
+7
-1
No files matched your search
@@ -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