Revert "always return Euclidean modulo of current rotation"

This reverts commit 32af983910.
This commit is contained in:
jonasengelmann 2022-07-07 16:31:35 +02:00
parent 32af983910
commit ddd4a05e5e

View File

@ -956,8 +956,8 @@ $.Viewport.prototype = {
*/
getRotation: function(current) {
return current ?
$.euclideanModulo(this.degreesSpring.current.value, 360) :
$.euclideanModulo(this.degreesSpring.target.value, 360);
this.degreesSpring.current.value :
this.degreesSpring.target.value;
},
/**