aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-29 10:46:58 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-29 10:47:05 +0200
commiteec14b9c9200abda683bc8e532d1e6500f0a652d (patch)
tree0bce1c74150fdaff7579c23db78a4e4a523f6f4a /js/reveal.js
parentebb9a689a052eb80b2603f6722cb0cfeebd30e47 (diff)
downloadperl-software-in-gnu-guix-eec14b9c9200abda683bc8e532d1e6500f0a652d.tar
perl-software-in-gnu-guix-eec14b9c9200abda683bc8e532d1e6500f0a652d.tar.gz
pdf background size rounding error
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index aefb514..4e8f9f2 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -443,8 +443,8 @@
var slideSize = getComputedSlideSize( window.innerWidth, window.innerHeight );
// Dimensions of the PDF pages
- var pageWidth = Math.round( slideSize.width * ( 1 + config.margin ) ),
- pageHeight = Math.round( slideSize.height * ( 1 + config.margin ) );
+ var pageWidth = Math.ceil( slideSize.width * ( 1 + config.margin ) ),
+ pageHeight = Math.ceil( slideSize.height * ( 1 + config.margin ) );
// Dimensions of slides within the pages
var slideWidth = slideSize.width,