projects
/
raphael
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hot fix.
[raphael]
/
raphael.js
diff --git
a/raphael.js
b/raphael.js
index
4663fff
..
3169228
100644
(file)
--- a/
raphael.js
+++ b/
raphael.js
@@
-163,6
+163,11
@@
Raphael = (function () {
s = h.s;
h = h.h;
}
+ if (h > 1 || s > 1 || l > 1) {
+ h /= 255;
+ s /= 255;
+ l /= 255;
+ }
var rgb = {},
channels = ["r", "g", "b"],
t2, t1, t3, r, g, b;