alt+zoom only works on slide content #1151
parent
7baa8ec1fe
commit
60457d21b4
|
@ -2,7 +2,7 @@
|
||||||
(function(){
|
(function(){
|
||||||
var isEnabled = true;
|
var isEnabled = true;
|
||||||
|
|
||||||
document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) {
|
document.querySelector( '.reveal .slides' ).addEventListener( 'mousedown', function( event ) {
|
||||||
var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key';
|
var modifier = ( Reveal.getConfig().zoomKey ? Reveal.getConfig().zoomKey : 'alt' ) + 'Key';
|
||||||
|
|
||||||
var zoomPadding = 20;
|
var zoomPadding = 20;
|
||||||
|
|
Loading…
Reference in New Issue