Commit 0473e7e3 by Dmitry Baranovskiy

Fix for rects

parent 9d154a3a
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -972,7 +972,7 @@ window.Raphael = (function () {
value = -attrs.x - (attrs.width || 0);
}
case "rx":
if (o.type == "rect") {
if (att == "rx" && o.type == "rect") {
break;
}
case "cx":
......@@ -992,7 +992,7 @@ window.Raphael = (function () {
value = -attrs.y - (attrs.height || 0);
}
case "ry":
if (o.type == "rect") {
if (att == "ry" && o.type == "rect") {
break;
}
case "cy":
......
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