[UX] Remove search highlights when closing search bar (#3804)
They were indeed removed, but no full screen refresh was requested, so the highlights stayed visible.
This commit is contained in:
1 parent
43c2c92194
commit
e21fe55042
1 file changed
+1
@@ -136,6 +136,7 @@ function ReaderSearch:onShowSearchDialog(text)
|
||||
tap_close_callback = function()
|
||||
logger.dbg("highlight clear")
|
||||
self.ui.highlight:clear()
|
||||
UIManager:setDirty(self.dialog, "ui")
|
||||
end,
|
||||
}
|
||||
do_search(self.searchFromCurrent, text, 0)()
|
||||
|
||||
Reference in new issue
Block a user