Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55151da

Browse files
committedMar 10, 2015
wrong position in ie7 when rotate image DmitryBaranovskiy#612
1 parent 0e4077b commit 55151da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎dev/raphael.core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
= (number) angle in degrees.
473473
\*/
474474
R.deg = function (rad) {
475-
return rad * 180 / PI % 360;
475+
return Math.round ((rad * 180 / PI% 360)* 1000) / 1000;
476476
};
477477
/*\
478478
* Raphael.snapTo
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.