mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
c0adf4582c
When calling clutter_actor_animate() on an actor that is being currently animated the default behaviour is to update the duration of the animation; the easing mode; update all the common properties; and finally add the new properties. This: clutter_actor_animate (actor, 500, CLUTTER_LINEAR, "width", 100, "height", 100, NULL); clutter_actor_animate (actor, 250, CLUTTER_EASE_IN_CUBIC, "x", 100, "y", 100, "height", 200, NULL); Is logically equivalent to: clutter_actor_animate (actor, 250, CLUTTER_EASE_IN_CUBIC, "x", 100, "y", 100, "width", 100, "height", 200, NULL); The documentation of the function should be slightly more verbose in describing the default behaviour.