projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8faaeb7
)
Pman.Gnumeric.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 08:41:19 +0000
(16:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 08:41:19 +0000
(16:41 +0800)
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
283f3bf
..
30e9e65
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-946,12
+946,14
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
'color': function(ent,v) {
ent['Fore'] = toCol(v);
+ // this is a bit dumb.. we assume that if it's not black text, then it's shaded..
+ if (ent['Fore'] != '0:0:0') {
+ ent['Shade'] = 1;
+ }
+
},
'background-color' : function(ent,v) {
ent['Back'] = toCol(v);
- if (ent['Back'] != '0:0:0') {
- ent['Shade'] = 1;
- }
}