ux/Lightbox.js
[roojs1] / ux / Lightbox.js
index af7ec6b..b2c8e8b 100644 (file)
@@ -493,6 +493,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
             // bigger than window.
             // scale here... - bit nasty..
             var rescale = 1.1 * Math.max( widthNew / ww , heightNew  / wh);
+            Roo.log(rescale);
              //console.log(rescale);
             imgWidth = Math.floor(imgWidth / rescale);
             imgHeight = Math.floor(imgHeight / rescale);