sciter show-remote-cursor option
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5877bcf2a1
commit
d2d7c2e50a
@ -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 <popup>
|
||||
<menu.context #display-options>
|
||||
<li #adjust-window style="display:none">{translate('Adjust Window')}</li>
|
||||
@ -184,7 +191,7 @@ class Header: Reactor.Component {
|
||||
{codecs[1] ? <li #h265 type="codec-preference"><span>{svg_checkmark}</span>H265</li> : ""}
|
||||
</div> : ""}
|
||||
<div .separator />
|
||||
<li #show-remote-cursor .toggle-option><span>{svg_checkmark}</span>{translate('Show remote cursor')}</li>
|
||||
{!cursor_embeded && <li #show-remote-cursor .toggle-option><span>{svg_checkmark}</span>{translate('Show remote cursor')}</li>}
|
||||
<li #show-quality-monitor .toggle-option><span>{svg_checkmark}</span>{translate('Show quality monitor')}</li>
|
||||
{audio_enabled ? <li #disable-audio .toggle-option><span>{svg_checkmark}</span>{translate('Mute')}</li> : ""}
|
||||
{is_win && pi.platform == 'Windows' && file_enabled ? <li #enable-file-transfer .toggle-option><span>{svg_checkmark}</span>{translate('Allow file copy and paste')}</li> : ""}
|
||||
|
Loading…
Reference in New Issue
Block a user