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:
parent
13f67822a1
commit
7cfc505d21
@ -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, ".",
|
||||
|
Loading…
Reference in New Issue
Block a user