mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[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:
@@ -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