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