Merge pull request #303 from DrBenton/master
Small additions around "togglePause()"
This commit is contained in:
commit
305e70d99b
@ -1398,8 +1398,8 @@ var Reveal = (function(){
|
||||
case 32: isOverviewActive() ? deactivateOverview() : navigateNext(); break;
|
||||
// return
|
||||
case 13: isOverviewActive() ? deactivateOverview() : triggered = false; break;
|
||||
// b, period
|
||||
case 66: case 190: togglePause(); break;
|
||||
// b, period, Logitech presenter tools "black screen" button
|
||||
case 66: case 190: case 191: togglePause(); break;
|
||||
// f
|
||||
case 70: enterFullscreen(); break;
|
||||
default:
|
||||
@ -1627,6 +1627,9 @@ var Reveal = (function(){
|
||||
// Toggles the overview mode on/off
|
||||
toggleOverview: toggleOverview,
|
||||
|
||||
// Toggles the "black screen" mode on/off
|
||||
togglePause: togglePause,
|
||||
|
||||
// Adds or removes all internal event listeners (such as keyboard)
|
||||
addEventListeners: addEventListeners,
|
||||
removeEventListeners: removeEventListeners,
|
||||
|
Loading…
Reference in New Issue
Block a user