diff --git a/src/viewport.js b/src/viewport.js index 4d8b9c9a..9a058968 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -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; }, /**