diff --git a/index.html b/index.html index cac1784..d14cd12 100644 --- a/index.html +++ b/index.html @@ -66,6 +66,22 @@ pointer-events: none; } + #fullscreen-btn { + position: fixed; + bottom: 20px; right: 20px; + z-index: 999; + background: rgba(255,255,255,0.08); + border: 1px solid rgba(255,255,255,0.15); + color: rgba(255,255,255,0.4); + border-radius: 8px; + padding: 6px 10px; + font-size: 1.2rem; + cursor: pointer; + opacity: 0; + transition: opacity 0.3s; + } + #view-display:hover #fullscreen-btn { opacity: 1; } + #fullscreen-btn:hover { background: rgba(255,255,255,0.18); color: white; } .display-header { position: absolute; top: 32px; left: 40px; @@ -1031,6 +1047,7 @@ DISPLAY VIEW (Monitor 2) ============================================================ -->
+
BNI Sonne Ulm
Vorstellungsrunde
@@ -1112,7 +1129,7 @@ Das war die letzte Vorstellung – Danke!
-
+
powered by Digiseed
@@ -3524,6 +3541,19 @@ function editMemberTimer(memberId) { renderControl(); } +function toggleFullscreen() { + if (!document.fullscreenElement) { + document.documentElement.requestFullscreen().catch(() => {}); + } else { + document.exitFullscreen().catch(() => {}); + } +} + +document.addEventListener('fullscreenchange', () => { + const btn = document.getElementById('fullscreen-btn'); + if (btn) btn.textContent = document.fullscreenElement ? '✕' : '⛶'; +}); + function editDefaultTimer() { const current = state.defaultTimer || 60; const answer = prompt(