Fixed scale(1) call

This commit is contained in:
Dmitry Baranovskiy 2009-03-02 18:50:42 +11:00
parent c4ed640151
commit 67ccc078db
1 changed files with 1 additions and 1 deletions

View File

@ -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;