Fix scale

This commit is contained in:
Petko Bordjukov 2014-06-21 12:14:05 +03:00
parent 4821748213
commit a702921dc6
1 changed files with 10 additions and 1 deletions

View File

@ -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() {