mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Add min spread width in determineLayoutProperties
This commit is contained in:
parent
4e7276c151
commit
eed4a45cb6
7 changed files with 74 additions and 2032 deletions
|
@ -437,6 +437,14 @@ ContinuousViewManager.prototype.onScroll = function(){
|
|||
left: scrollLeft
|
||||
});
|
||||
|
||||
clearTimeout(this.afterScrolled);
|
||||
this.afterScrolled = setTimeout(function () {
|
||||
this.trigger("scrolled", {
|
||||
top: this.scrollTop,
|
||||
left: this.scrollLeft
|
||||
});
|
||||
}.bind(this));
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue