1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00
This commit is contained in:
Bret Papkoff 2023-05-17 11:24:03 -07:00 committed by GitHub
commit d9bb3b47e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -60,7 +60,7 @@ class ContinuousViewManager extends DefaultViewManager {
var full = _full || new defer(); var full = _full || new defer();
this.q.enqueue(() => { this.q.enqueue(() => {
return this.check(); return this.check.bind(this);
}).then((result) => { }).then((result) => {
if (result) { if (result) {
this.fill(full); this.fill(full);

View file

@ -47,6 +47,7 @@ class Stage {
container.style.lineHeight = "0"; container.style.lineHeight = "0";
container.style.verticalAlign = "top"; container.style.verticalAlign = "top";
container.style.position = "relative"; container.style.position = "relative";
container.style.overflowAnchor = "none";
if(axis === "horizontal") { if(axis === "horizontal") {
// container.style.whiteSpace = "nowrap"; // container.style.whiteSpace = "nowrap";