X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2FShadow.js;h=30534f46bc2bfc0d25421472821f51952f603f55;hp=8984a8bab89be1ae35659258c246a7454a1ec568;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hpb=f692f36c1bfb422bc3221dc8679c7e0e2470cc78 diff --git a/Roo/Shadow.js b/Roo/Shadow.js index 8984a8bab8..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,9 +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 (sh < 0) { // borks in IE7 - return; - } + if(s.width != sws || s.height != shs){ s.width = sws; s.height = shs;