arl1nd Posted March 5, 2020 Share Posted March 5, 2020 Hello again, I've been altering timeline duration (that previously had duration of 1 second) to timeline.duration( 5 ) however when I check timeline.timeScale() it returns still 1 (and also the animation duration is not affected at all), shouldn't that be different? Am I doing anything wrong or this is an issue of current version of GSAP. For more please refer to the codepen example. See the Pen qBdPodq by arl1nd (@arl1nd) on CodePen 1 1 Link to comment Share on other sites More sharing options...
GreenSock Posted March 5, 2020 Share Posted March 5, 2020 Great catch! Yes, that's a bug and it should be resolved in the next release which you can preview at https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/gsap-latest-beta.min.js For the record, the bug didn't affect totalDuration(), so if you set that instead of duration() it should work fine. Sorry about any confusion there. 3 Link to comment Share on other sites More sharing options...
arl1nd Posted March 6, 2020 Author Share Posted March 6, 2020 Thank you Jack, really appreciate the efforts you put to fix all the issues and for providing such a great support. 1 Link to comment Share on other sites More sharing options...
GreenSock Posted March 20, 2020 Share Posted March 20, 2020 This fix is in the latest release that we just pushed out officially (3.2.5). Enjoy! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now