From 30e846f35798031bb5b84ac3e4ab2c3a306e8d46 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 5 Aug 2014 09:42:42 +0200 Subject: [PATCH] use even numbers for offset to prevent strange resize with firefox --- pveui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pveui.js b/pveui.js index eefed84..f616a0e 100644 --- a/pveui.js +++ b/pveui.js @@ -346,8 +346,8 @@ sizeUpdateTimer: undefined, updateFBSize: function(rfb, width, height) { try { - UI.lastFBWidth = width + 1; - UI.lastFBHeight = height + 5; + UI.lastFBWidth = width + 2; + UI.lastFBHeight = height + 6; if (UI.sizeUpdateTimer !== undefined) { clearInterval(UI.sizeUpdateTimer); -- 2.39.2