Commit 55151dae by Tomas Alabes

wrong position in ie7 when rotate image #612

parent 0e4077b7
......@@ -472,7 +472,7 @@
= (number) angle in degrees.
\*/
R.deg = function (rad) {
return rad * 180 / PI % 360;
return Math.round ((rad * 180 / PI% 360)* 1000) / 1000;
};
/*\
* Raphael.snapTo
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -851,7 +851,7 @@
= (number) angle in degrees.
\*/
R.deg = function (rad) {
return rad * 180 / PI % 360;
return Math.round ((rad * 180 / PI% 360)* 1000) / 1000;
};
/*\
* Raphael.snapTo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment