alt+zoom only works on slide content #1151
This commit is contained in:
parent
7baa8ec1fe
commit
60457d21b4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue