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:
NiLuJe
2014-11-11 02:15:08 +01:00
parent 3ce10b697a
commit 656a2c7cb6
2 changed files with 7 additions and 1 deletions

View File

@@ -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