mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Merge b6ccddec37
into f09089cf77
This commit is contained in:
commit
d9bb3b47e2
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue