After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618676 - add setTimeScale and getTimeScale to Tweener
add setTimeScale and getTimeScale to Tweener
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-14 21:16 UTC by James Willcox
Modified: 2014-09-29 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add Tweener.setTimeScale and Tweener.getTimeScale (885 bytes, patch)
2010-05-14 21:19 UTC, James Willcox
committed Details | Review

Description James Willcox 2010-05-14 21:16:05 UTC
The tweener has a time scale factor that it can use to augment the speed of tweens, but there isn't anything exposed to change this.  The attached patch adds some stuff for that.
Comment 1 James Willcox 2010-05-14 21:19:08 UTC
Created attachment 161095 [details] [review]
add Tweener.setTimeScale and Tweener.getTimeScale

This lets you effectively slow down (or speed up) all tweens. Pretty
useful for debugging.
Comment 2 Johan Bilien 2010-05-19 14:59:26 UTC
looks good to me
Comment 3 Bastien Nocera 2014-09-29 17:33:11 UTC
Got pushed then:

commit 214c84edeeae06257c5e57dd85ac55181c5ece29
Author: James Willcox <jwillcox@litl.com>
Date:   Fri May 14 17:12:34 2010 -0400

    add Tweener.setTimeScale and Tweener.getTimeScale
    
    This lets you effectively slow down (or speed up) all tweens. Pretty
    useful for debugging.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=618676