1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Update core.prefix

This commit is contained in:
fchasen 2017-05-12 13:34:25 -04:00
parent 8cd4108c52
commit 176125e46b
5 changed files with 8 additions and 6 deletions

View file

@ -276,7 +276,7 @@ class ContinuousViewManager extends DefaultViewManager {
var offset = horizontal ? this.scrollLeft : this.scrollTop;
var visibleLength = horizontal ? bounds.width : bounds.height;
var contentLength = horizontal ? this.container.scrollWidth : this.container.scrollHeight;
console.log(bounds);
if (offset + visibleLength + delta >= contentLength) {
last = this.views.last();
next = last && last.section.next();