From: Dmitry Baranovskiy Date: Mon, 2 Mar 2009 07:50:42 +0000 (+1100) Subject: Fixed scale(1) call X-Git-Tag: semver~80 X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=67ccc078db5b8c34f901abb7f2e8a9f75ef42585 Fixed scale(1) call --- 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;