X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2FShadow.js;h=30534f46bc2bfc0d25421472821f51952f603f55;hp=3b2f631c4ef825c1b59a930ab250faf519c11ebc;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hpb=4d9cd83949f3c24871af08cebb30b1f8102ac4c9 diff --git a/Roo/Shadow.js b/Roo/Shadow.js index 3b2f631c4e..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,6 +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"; + if(s.width != sws || s.height != shs){ s.width = sws; s.height = shs;