]> git.proxmox.com Git - novnc-pve.git/commitdiff
remove unnecessary 6px addition
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 2 Aug 2016 14:39:20 +0000 (16:39 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 3 Aug 2016 09:09:03 +0000 (11:09 +0200)
this added a 6px border at the bottom for
chrome/firefox/ie11

this patch removes it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
debian/patches/pveui.patch

index 73aa9e71cace2006ab70320d92c6fea47f785d48..b613d98958ea3d916cee2a496904348536e3d71e 100644 (file)
@@ -793,7 +793,7 @@ index cb5717c..ceaa4fc 100644
 +              // Note1: CSS Canvas size is wrong by a few pixels in Chrome
 +              // Note2: window size must be even number for firefox
 +              UI.lastFBWidth = Math.floor((width + 1)/2)*2;;
-+              UI.lastFBHeight = Math.floor((height + 6)/2)*2;
++              UI.lastFBHeight = Math.floor((height)/2)*2;
 +
 +              if (UI.sizeUpdateTimer !== undefined) {
 +                  clearInterval(UI.sizeUpdateTimer);