Commit 869d6ce2 by Dmitry Baranovskiy

Colour fix

parent f644228b
......@@ -230,7 +230,7 @@ window.Raphael = (function () {
var r = (~~red).toString(16),
g = (~~green).toString(16),
b = (~~blue).toString(16),
rg = /^(?=\d$)/,
rg = /^(?=[\da-f]$)/,
rp = "replace";
r = r[rp](rg, "0");
g = g[rp](rg, "0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment