1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Fix Continuous Manager Scroll Bug

Fixes the issue of the scroll bar not working if the rendition is resized
while an image is present and using continuous manager
This commit is contained in:
btpf 2023-02-17 13:42:45 -05:00
parent d6609a7bb1
commit b6ccddec37

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);