mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Content resize (#605)
Wait after formatting, listen for resize events from `Contents`
This commit is contained in:
parent
32672359f5
commit
573ed8e18b
3 changed files with 21 additions and 12 deletions
|
@ -613,6 +613,7 @@ class Rendition {
|
|||
"page-break-inside": "avoid"
|
||||
}
|
||||
});
|
||||
|
||||
return new Promise(function(resolve, reject){
|
||||
// Wait to apply
|
||||
setTimeout(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue