Use B (break) as pause key in the presenter view
CI / Deploy / PHP 8.5 (push) Successful in 1m16s
CI / Deploy / PHP 8.4 (push) Successful in 1m58s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

P keeps working as an alias.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-21 11:42:35 +01:00
1 parent bf9f86d24a
commit a16aff6b88
3 files changed
+10 -8

No files matched your search

+4 -2
View File
@@ -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');