mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
Merge pull request #393 from tigran123/bookmark-refresh
No need for page redraw in UniReader:addBookmark()
This commit is contained in:
commit
5608759e0f
@ -1469,7 +1469,6 @@ function UniReader:addJump(pageno)
|
||||
end
|
||||
table.insert(self.jump_history, jump_item)
|
||||
self.jump_history.cur = #self.jump_history + 1
|
||||
--self:redrawCurrentPage()
|
||||
return true
|
||||
end
|
||||
|
||||
@ -1507,7 +1506,6 @@ function UniReader:addBookmark(pageno)
|
||||
table.sort(self.bookmarks, function(a,b)
|
||||
return self:isBookmarkInSequence(a, b)
|
||||
end)
|
||||
self:redrawCurrentPage()
|
||||
return true
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user