Set starting value for bgrxImgMode

This commit is contained in:
DomenGaber 2020-02-04 13:56:01 +01:00
parent e9cd50676f
commit c7398d26b2
2 changed files with 2 additions and 1 deletions

View File

@ -1031,6 +1031,7 @@ const UI = {
UI.rfb.addEventListener("bell", UI.bell);
UI.rfb.addEventListener("desktopname", UI.updateDesktopName);
UI.rfb.clipViewport = UI.getSetting('view_clip');
UI.rfb.bgrxImgMode = UI.getSetting('img_bgrx_mode');
UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale';
UI.rfb.resizeSession = UI.getSetting('resize') === 'remote';
UI.rfb.showDotCursor = UI.getSetting('show_dot');

View File

@ -196,7 +196,7 @@
<label><input id="noVNC_setting_view_clip" type="checkbox"> Clip to Window</label>
</li>
<li>
<label><input id="noVNC_setting_img_bgrx_mode" type="checkbox"> BGRX mode</label>
<label><input id="noVNC_setting_img_bgrx_mode" type="checkbox"> BGRX Mode</label>
</li>
<li>
<label for="noVNC_setting_resize">Scaling Mode:</label>