1
0
Fork 0
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:
Fred Chasen 2017-07-06 17:53:48 -04:00
parent fdf7fda0d9
commit 661d4d77d1
9 changed files with 111 additions and 50 deletions

View file

@ -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,