considering visible page count in readerrolling

This should fix #660.
This commit is contained in:
chrox committed 2014-07-03 17:54:35 +08:00
1 parent e7fc16dd25
commit 9fc048ecfc
3 files changed
+7 -2

No files matched your search

+4
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)