From 8c60c79ed7b6ba31212603e2bc0f7693ccbff15f Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 16 Jun 2014 14:14:32 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index b2c8e8b7e8..572c9dbfb4 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -492,6 +492,8 @@ Roo.apply(Roo.ux.Lightbox.prototype, if (widthNew > ww || heightNew > wh) { // bigger than window. // scale here... - bit nasty.. + Roo.log(widthNew / ww ); + Roo.log(heightNew / wh); var rescale = 1.1 * Math.max( widthNew / ww , heightNew / wh); Roo.log(rescale); //console.log(rescale); -- 2.39.2