misc: combining --read-only and --fullscreen now disables F11 on built-in client
This commit is contained in:
parent
98e5670011
commit
dc9f1435e3
4 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue