Ask for a full refresh when clearing HL
Helps avoiding ghosting, especially on REAGL devices. re #1119
This commit is contained in:
1 parent
3d5dd44a4c
commit
eef26a0e94
1 file changed
+1
-1
@@ -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