Commit 67ccc078 by Dmitry Baranovskiy

Fixed scale(1) call

parent c4ed6401
......@@ -2088,7 +2088,7 @@ var Raphael = (function () {
}
y = y || x;
var dx, dy, cx, cy;
if (x != 0 && !(x == 1 && y == 1)) {
if (x != 0) {
var dirx = Math.round(x / Math.abs(x)),
diry = Math.round(y / Math.abs(y)),
s = this.node.style;
......
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