[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:
poire-z
2018-03-26 21:10:46 +02:00
committed by Frans de Jonge
parent 43c2c92194
commit e21fe55042

View File

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