Use B (break) as pause key in the presenter view
P keeps working as an alias. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bf9f86d24a
commit
a16aff6b88
3 files changed
+10
-8
No files matched your search
@@ -1446,7 +1446,7 @@
|
||||
q('[data-description]').textContent = state.count === 0
|
||||
? (allHidden ? 'Blende in der Verwaltung mindestens eine Folie ein.' : 'Lege in der Verwaltung Fragen an.')
|
||||
: (state.poll.isPaused
|
||||
? 'Teilnehmende sehen gerade eine Pause-Seite. Drücke P oder → zum Fortsetzen.'
|
||||
? 'Teilnehmende sehen gerade eine Pause-Seite. Drücke B oder → zum Fortsetzen.'
|
||||
: 'Drücke → um zu starten.');
|
||||
q('[data-results]').innerHTML = '';
|
||||
renderMedia(null);
|
||||
@@ -1643,10 +1643,12 @@
|
||||
if ((event.key === ' ' || event.key === 'Enter') && event.target.closest('[data-comments]')) {
|
||||
return; // activates the focused comment button, not the next slide
|
||||
}
|
||||
if (embedded && ['ArrowRight', 'ArrowLeft', 'ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', ' ', 'p', 'P', 'f', 'F', 'q', 'Q'].indexOf(event.key) >= 0) {
|
||||
if (embedded && ['ArrowRight', 'ArrowLeft', 'ArrowUp', 'ArrowDown', 'PageUp', 'PageDown', ' ', 'b', 'B', 'p', 'P', 'f', 'F', 'q', 'Q'].indexOf(event.key) >= 0) {
|
||||
return; // slide navigation belongs to the surrounding presentation
|
||||
}
|
||||
switch (event.key) {
|
||||
case 'b':
|
||||
case 'B':
|
||||
case 'p':
|
||||
case 'P':
|
||||
control(state && !state.slide && state.poll.isPaused ? 'resume' : 'stop');
|
||||
|
||||
Reference in new issue
Block a user