From 1cbc2d96c1801a962f808a708ea8822fdc0a3815 Mon Sep 17 00:00:00 2001 From: jonasengelmann <40031476+jonasengelmann@users.noreply.github.com> Date: Tue, 29 Mar 2022 19:18:25 +0200 Subject: [PATCH] fixed initial degree option --- src/viewport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewport.js b/src/viewport.js index 028c5916..3a6e339a 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -134,7 +134,7 @@ $.Viewport = function( options ) { }); this.degreesSpring = new $.Spring({ - initial: 0, + initial: options.degrees, springStiffness: this.springStiffness, animationTime: this.animationTime });