misc: combining --read-only and --fullscreen now disables F11 on built-in client

This commit is contained in:
jean-emmanuel 2025-04-08 10:48:46 +02:00
parent 98e5670011
commit dc9f1435e3
4 changed files with 4 additions and 0 deletions

View file

@ -210,6 +210,7 @@ var menuEntries = [
},
{
label: locales('fullscreen'),
disabled: KIOSK && navigator.userAgent.match(/OpenStageControl/), // built-in electron client only
class: ()=>{return 'toggle ' + (fullscreen.isFullscreen ? 'on' : 'off')},
action: ()=>{
if (fullscreen.isEnabled) fullscreen.toggle()