mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Simplify iframe view expanding
This commit is contained in:
parent
8d2b9cc8d4
commit
eff216fd2d
5 changed files with 57 additions and 135 deletions
|
@ -529,7 +529,7 @@ class DefaultViewManager {
|
|||
|
||||
// Find mapping
|
||||
let start = left + container.left - position + used;
|
||||
let end = start + this.layout.spreadWidth - used;
|
||||
let end = start + this.layout.width - used;
|
||||
|
||||
let mapping = this.mapping.page(view.contents, view.section.cfiBase, start, end);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue