diff --git a/src/ui/header.tis b/src/ui/header.tis index 01699a583..086696726 100644 --- a/src/ui/header.tis +++ b/src/ui/header.tis @@ -164,6 +164,13 @@ class Header: Reactor.Component { var codecs = handler.supported_hwcodec(); var show_codec = handler.has_hwcodec() && (codecs[0] || codecs[1]); + var cursor_embeded = false; + if ((pi.displays || []).length > 0) { + if (pi.displays.length > pi.current_display) { + cursor_embeded = pi.displays[pi.current_display].cursor_embeded; + } + } + return
  • {translate('Adjust Window')}
  • @@ -184,7 +191,7 @@ class Header: Reactor.Component { {codecs[1] ?
  • {svg_checkmark}H265
  • : ""} : ""}
    -
  • {svg_checkmark}{translate('Show remote cursor')}
  • + {!cursor_embeded &&
  • {svg_checkmark}{translate('Show remote cursor')}
  • }
  • {svg_checkmark}{translate('Show quality monitor')}
  • {audio_enabled ?
  • {svg_checkmark}{translate('Mute')}
  • : ""} {is_win && pi.platform == 'Windows' && file_enabled ?
  • {svg_checkmark}{translate('Allow file copy and paste')}
  • : ""}