Cleanup link_states and fix a rare highlight bug

This commit is contained in:
Paulo Matias
2014-01-22 09:59:53 -02:00
parent e9cc47133f
commit 5caba3f95a
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,11 @@ function ReaderLink:init()
end
end
function ReaderLink:onReadSettings(config)
-- called when loading new document
self.link_states = {}
end
function ReaderLink:initGesListener()
if Device:isTouchDevice() then
self.ges_events = {