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:
parent
8cd4108c52
commit
176125e46b
5 changed files with 8 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue