]> git.proxmox.com Git - novnc-pve.git/blobdiff - debian/patches/pveui.patch
remove unnecessary 6px addition
[novnc-pve.git] / 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);