projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-core.js
[roojs1]
/
Roo
/
Shadow.js
diff --git
a/Roo/Shadow.js
b/Roo/Shadow.js
index
2cfab7b
..
30534f4
100644
(file)
--- a/
Roo/Shadow.js
+++ b/
Roo/Shadow.js
@@
-79,6
+79,7
@@
Roo.Shadow.prototype = {
* frame: Shadow displays equally on all four sides<br />
* drop: Traditional bottom-right drop shadow (default)
*/
* frame: Shadow displays equally on all four sides<br />
* 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)
/**
* @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";
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;
if(s.width != sws || s.height != shs){
s.width = sws;
s.height = shs;