From: Dominik Csapak Date: Tue, 2 Aug 2016 14:39:20 +0000 (+0200) Subject: remove unnecessary 6px addition X-Git-Url: https://git.proxmox.com/?p=novnc-pve.git;a=commitdiff_plain;h=ecdd814018f2b7c2cca02adde4648b28318187ed remove unnecessary 6px addition this added a 6px border at the bottom for chrome/firefox/ie11 this patch removes it Signed-off-by: Dominik Csapak --- diff --git a/debian/patches/pveui.patch b/debian/patches/pveui.patch index 73aa9e7..b613d98 100644 --- a/debian/patches/pveui.patch +++ b/debian/patches/pveui.patch @@ -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);