X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FShadow.js;h=30534f46bc2bfc0d25421472821f51952f603f55;hb=refs%2Fheads%2Fwip_leon_T7094_logo_image_upload_in_boilerplate;hp=2cfab7b57a6b84b3ece930a7efe9034fb42fda33;hpb=2cb28e69ed0a26fee96ae92e916f3306669457e1;p=roojs1 diff --git a/Roo/Shadow.js b/Roo/Shadow.js index 2cfab7b57a..30534f46bc 100644 --- a/Roo/Shadow.js +++ b/Roo/Shadow.js @@ -79,6 +79,7 @@ Roo.Shadow.prototype = { * frame: Shadow displays equally on all four sides
* drop: Traditional bottom-right drop shadow (default) */ + mode: false, /** * @cfg {String} offset * The number of pixels to offset the shadow from the element (defaults to 4) @@ -137,7 +138,7 @@ Roo.Shadow.prototype = { s.left = (l+a.l)+"px"; s.top = (t+a.t)+"px"; var sw = (w+a.w), sh = (h+a.h), sws = sw +"px", shs = sh + "px"; - www. + if(s.width != sws || s.height != shs){ s.width = sws; s.height = shs;