Small fix for deducting the correct number of pixels from the height due to

the new control-bar height.
This commit is contained in:
samhed 2013-08-30 16:41:46 +02:00
parent 01f9d2e782
commit 21256e9c6d
1 changed files with 3 additions and 4 deletions

View File

@ -44,10 +44,9 @@ load: function (callback) {
}, },
onresize: function (callback) { onresize: function (callback) {
// Control-bar height: 44px + // Control-bar height: 36px +
// Status-bar height: 24px + // border height: 5px = 41px to be deducted from the height
// border height: 5px = 73px to be deducted from the height UI.rfb.setDesktopSize(window.innerWidth, window.innerHeight - 41);
UI.rfb.setDesktopSize(window.innerWidth, window.innerHeight - 73);
}, },
// Render default UI and initialize settings menu // Render default UI and initialize settings menu