Don't close the control bar when disconnected
If you were very quick to disconnect, you could end up in a state where the toolbar was hidden.
This commit is contained in:
parent
9310577bd8
commit
7520ba52d8
|
@ -420,6 +420,7 @@ var UI;
|
||||||
} else {
|
} else {
|
||||||
document.documentElement.classList.remove("noVNC_connected");
|
document.documentElement.classList.remove("noVNC_connected");
|
||||||
UI.updateXvpButton(0);
|
UI.updateXvpButton(0);
|
||||||
|
UI.keepControlbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
// State change disables viewport dragging.
|
// State change disables viewport dragging.
|
||||||
|
|
Loading…
Reference in New Issue