Skip to content

Commit

Permalink
Fix for issue DmitryBaranovskiy#373
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryBaranovskiy committed Aug 8, 2011
1 parent d8f7740 commit e9f2c24
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 131 deletions.
2 changes: 1 addition & 1 deletion raphael-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1962,9 +1962,9 @@
\*/
matrixproto.scale = function (x, y, cx, cy) {
y == null && (y = x);
cx || cy && this.add(1, 0, 0, 1, cx, cy);
(cx || cy) && this.add(1, 0, 0, 1, cx, cy);
this.add(x, 0, 0, y, 0, 0);
cx || cy && this.add(1, 0, 0, 1, -cx, -cy);
(cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);
};
/*\
* Matrix.rotate
Expand Down
4 changes: 2 additions & 2 deletions raphael.js
Original file line number Diff line number Diff line change
Expand Up @@ -1713,9 +1713,9 @@

matrixproto.scale = function (x, y, cx, cy) {
y == null && (y = x);
cx || cy && this.add(1, 0, 0, 1, cx, cy);
(cx || cy) && this.add(1, 0, 0, 1, cx, cy);
this.add(x, 0, 0, y, 0, 0);
cx || cy && this.add(1, 0, 0, 1, -cx, -cy);
(cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);
};

matrixproto.rotate = function (a, x, y) {
Expand Down
Loading

0 comments on commit e9f2c24

Please sign in to comment.