Small fix for deducting the correct number of pixels from the height due to
the new control-bar height.
This commit is contained in:
parent
01f9d2e782
commit
21256e9c6d
|
|
@ -44,10 +44,9 @@ load: function (callback) {
|
|||
},
|
||||
|
||||
onresize: function (callback) {
|
||||
// Control-bar height: 44px +
|
||||
// Status-bar height: 24px +
|
||||
// border height: 5px = 73px to be deducted from the height
|
||||
UI.rfb.setDesktopSize(window.innerWidth, window.innerHeight - 73);
|
||||
// Control-bar height: 36px +
|
||||
// border height: 5px = 41px to be deducted from the height
|
||||
UI.rfb.setDesktopSize(window.innerWidth, window.innerHeight - 41);
|
||||
},
|
||||
|
||||
// Render default UI and initialize settings menu
|
||||
|
|
|
|||
Loading…
Reference in New Issue