1
0
Fork 0
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:
Fred Chasen 2016-09-06 14:36:54 +02:00
parent 4e7276c151
commit eed4a45cb6
7 changed files with 74 additions and 2032 deletions

View file

@ -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 {