From 67ccc078db5b8c34f901abb7f2e8a9f75ef42585 Mon Sep 17 00:00:00 2001 From: Dmitry Baranovskiy Date: Mon, 2 Mar 2009 18:50:42 +1100 Subject: [PATCH] Fixed scale(1) call --- raphael.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raphael.js b/raphael.js index c235e47..141cffe 100644 --- a/raphael.js +++ b/raphael.js @@ -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; -- 2.39.2