tap to clear selected text too

This should fix #589.
This commit is contained in:
chrox
2014-07-02 17:46:17 +08:00
parent 27b15b7020
commit 5214cc0f4c

View File

@@ -116,6 +116,7 @@ function ReaderHighlight:onTap(arg, ges)
self.ui.document:clearSelection()
end
self.hold_pos = nil
self.selected_text = nil
UIManager:setDirty(self.dialog, "partial")
return true
end