fixed initial degree option

This commit is contained in:
jonasengelmann 2022-03-29 19:18:25 +02:00
parent 65957efe72
commit 1cbc2d96c1

View File

@ -134,7 +134,7 @@ $.Viewport = function( options ) {
}); });
this.degreesSpring = new $.Spring({ this.degreesSpring = new $.Spring({
initial: 0, initial: options.degrees,
springStiffness: this.springStiffness, springStiffness: this.springStiffness,
animationTime: this.animationTime animationTime: this.animationTime
}); });