mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Add metatags for annotations
This commit is contained in:
parent
fdf7fda0d9
commit
661d4d77d1
9 changed files with 111 additions and 50 deletions
|
@ -182,7 +182,7 @@ class Layout {
|
|||
*/
|
||||
count(totalWidth) {
|
||||
// var totalWidth = contents.scrollWidth();
|
||||
var spreads = Math.ceil( totalWidth / this.spreadWidth);
|
||||
var spreads = Math.ceil( totalWidth / this.delta);
|
||||
|
||||
return {
|
||||
spreads : spreads,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue