considering visible page count in readerrolling

This should fix #660.
This commit is contained in:
chrox
2014-07-03 17:54:30 +08:00
parent e7fc16dd25
commit 9fc048ecfc
3 changed files with 7 additions and 2 deletions

View File

@@ -361,6 +361,10 @@ function CreDocument:setFloatingPunctuation(enabled)
self._document:setIntProperty("crengine.style.floating.punctuation.enabled", enabled)
end
function CreDocument:getVisiblePageCount()
return self._document:getVisiblePageCount()
end
function CreDocument:setVisiblePageCount(new_count)
DEBUG("CreDocument: set visible page count", new_count)
self._document:setVisiblePageCount(new_count)