2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

Remove unneeded redraw of the current page.

The function UniReader:showHighLight() internally handles all cases
where page redraw is necessary. Therefore, there is no need to redraw
the current page (much less to :goto() to it) on return from it.
This commit is contained in:
Tigran Aivazian 2012-11-20 23:29:31 +00:00
parent 13f67822a1
commit 7cfc505d21

View File

@ -3245,7 +3245,6 @@ function UniReader:addAllCommands()
"show all highlights",
function(unireader)
unireader:showHighLight()
unireader:goto(unireader.pageno)
end
)
self.commands:add(KEY_DOT, nil, ".",