projects
/
raphael
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #5648 - New design for post release report
[raphael]
/
raphael.js
diff --git
a/raphael.js
b/raphael.js
index
a26213f
..
aacaefe
100644
(file)
--- a/
raphael.js
+++ b/
raphael.js
@@
-527,7
+527,7
@@
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(uuidRegEx, uuidReplacer).toUpperCase();
};
})(/[xy]/g, function (c) {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(uuidRegEx, uuidReplacer).toUpperCase();
};
})(/[xy]/g, function (c) {
- var r =
m
ath.random() * 16 | 0,
+ var r =
M
ath.random() * 16 | 0,
v = c == "x" ? r : (r & 3 | 8);
return v.toString(16);
});
v = c == "x" ? r : (r & 3 | 8);
return v.toString(16);
});
@@
-3880,6
+3880,9
@@
window.Raphael.svg && function (R) {
break;
}
clr[has]("opacity") && $(node, {"fill-opacity": clr.opacity > 1 ? clr.opacity / 100 : clr.opacity});
break;
}
clr[has]("opacity") && $(node, {"fill-opacity": clr.opacity > 1 ? clr.opacity / 100 : clr.opacity});
+ // falls through (this is where setting is done...)
+ node.style.fill = clr.hex;
+
case "stroke":
clr = R.getRGB(value);
node.setAttribute(att, clr.hex);
case "stroke":
clr = R.getRGB(value);
node.setAttribute(att, clr.hex);