ux/Lightbox.js
authorEdward <edward@roojs.com>
Mon, 16 Jun 2014 06:13:57 +0000 (14:13 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Jun 2014 06:13:57 +0000 (14:13 +0800)
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);