Deprecate showDotCursor option for RFB constructor
It is not relevant for the connection stage so it should not have been a constructor argument to begin with. Ship with a warning for a release before we remove it.
This commit is contained in:
committed by
Lauri Kasanen
parent
8218a0cb2a
commit
734bdd3746
@@ -1270,7 +1270,6 @@ const UI = {
|
||||
|
||||
UI.rfb = new RFB(document.getElementById('noVNC_container'), url,
|
||||
{ shared: UI.getSetting('shared'),
|
||||
showDotCursor: UI.getSetting('show_dot'),
|
||||
repeaterID: UI.getSetting('repeaterID'),
|
||||
credentials: { password: password } });
|
||||
UI.rfb.addEventListener("connect", UI.connectFinished);
|
||||
@@ -1294,6 +1293,7 @@ const UI = {
|
||||
UI.rfb.clipViewport = UI.getSetting('view_clip');
|
||||
UI.rfb.scaleViewport = UI.getSetting('resize') === 'scale';
|
||||
UI.rfb.resizeSession = UI.getSetting('resize') === 'remote';
|
||||
UI.rfb.showDotCursor = UI.getSetting('show_dot');
|
||||
UI.rfb.idleDisconnect = UI.getSetting('idle_disconnect');
|
||||
UI.rfb.videoQuality = UI.getSetting('video_quality');
|
||||
UI.rfb.clipboardUp = UI.getSetting('clipboard_up');
|
||||
|
||||
Reference in New Issue
Block a user