diff --git a/src/actions.js b/src/actions.js index a1fa0f4d..53201880 100644 --- a/src/actions.js +++ b/src/actions.js @@ -21,6 +21,7 @@ var actions = { change_repeat: ['r'], reveal_controls: ['Return'], toggle_fullscreen: ['F11', 'f'], + leave_fullscreen: ['Escape'], quit: ['q', 'q'], }; @@ -85,6 +86,9 @@ function handleAction(action, window) if(clapperWidget.isFullscreenMode) clapperWidget.revealControls(); break; + case 'leave_fullscreen': + if(!clapperWidget.isFullscreenMode) + break; case 'toggle_fullscreen': clapperWidget.toggleFullscreen(); break; diff --git a/ui/help-overlay.ui b/ui/help-overlay.ui index 7914379d..5c1a059c 100644 --- a/ui/help-overlay.ui +++ b/ui/help-overlay.ui @@ -20,6 +20,12 @@ F11 f + + + Leave fullscreen + Escape + + Reveal OSD (fullscreen only)