|
|
|
@ -120,6 +120,9 @@ class VNCDisplay extends Component {
|
|
|
|
|
canvas
|
|
|
|
|
*/
|
|
|
|
|
rfb.scaleViewport = readQueryVariable('scale', false);
|
|
|
|
|
rfb.resizeSession = true
|
|
|
|
|
window.__rfb == rfb;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
@ -127,7 +130,7 @@ class VNCDisplay extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="">
|
|
|
|
|
<div className="" style={{height: '100%'}}>
|
|
|
|
|
<style>{`
|
|
|
|
|
#top_bar {
|
|
|
|
|
background-color: #6e84a3;
|
|
|
|
@ -148,6 +151,7 @@ class VNCDisplay extends Component {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
#screen {
|
|
|
|
|
height: 100%;
|
|
|
|
|
flex: 1; /* fill remaining space */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|