From a702921dc67147f5711ec325771d4f13a862c0b6 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sat, 21 Jun 2014 12:14:05 +0300 Subject: [PATCH] Fix scale --- reveal-init.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/reveal-init.js b/reveal-init.js index bef9c39..2955b78 100644 --- a/reveal-init.js +++ b/reveal-init.js @@ -63,7 +63,16 @@ Reveal.initialize({ backgroundTransition: 'default', // default/none/slide/concave/convex/zoom // Number of slides away from the current that are visible - viewDistance: 3 + viewDistance: 3, + + width: 900, + height: 600, + // Factor of the display size that should remain empty around the content + margin: 0.1, + + // Bounds for smallest/largest possible scale to apply to content + minScale: 0.2, + maxScale: 8.0 }); Reveal.addEventListener('update-safe', function() {