From e3e6235fb37ace1e66b7556501e89d034e65cd88 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 21 Dec 2012 03:15:48 +0100 Subject: [PATCH] temporary fix for incorrectly positioned reflection image on home screen (Chrome 26) --- static/js/pandora.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index deacddc97..363afbef0 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -68,8 +68,9 @@ appPanel images.reflection.style.top = height + 'px'; images.reflection.style.right = 0; images.reflection.style.bottom = 0; - images.reflection.style.width = width + 'px'; - images.reflection.style.height = height + 'px'; + // FIXME: `+2` and `+1` are temporary fixes for Chrome 26 + images.reflection.style.width = width + 2 + 'px'; + images.reflection.style.height = height + 1 + 'px'; images.reflection.style.margin = 'auto'; images.reflection.style.MozTransform = 'scaleY(-1)'; images.reflection.style.MSTransform = 'scaleY(-1)';