mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Ask for a full refresh when clearing HL
Helps avoiding ghosting, especially on REAGL devices. re #1119
This commit is contained in:
@@ -120,7 +120,7 @@ function ReaderHighlight:clear()
|
||||
else
|
||||
self.ui.document:clearSelection()
|
||||
end
|
||||
UIManager:setDirty(self.dialog, "partial")
|
||||
UIManager:setDirty(self.dialog, "full")
|
||||
if self.hold_pos then
|
||||
self.hold_pos = nil
|
||||
self.selected_text = nil
|
||||
|
||||
Reference in New Issue
Block a user