mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Revert "always return Euclidean modulo of current rotation"
This reverts commit 32af983910
.
This commit is contained in:
parent
32af983910
commit
ddd4a05e5e
@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user