Emmanuele Bassi fa8d431941 actor: Simplify setters of animatable properties
Instead of checking the duration of the current easing state we should
check if there's a transition in progress, and update it
unconditionally.

If there is no easing state, or the easing state has a duration of zero
milliseconds, then create_transition() should bail out early and set the
requested final state.

This allows us to write:

  clutter_actor_save_easing_state (actor);
  clutter_actor_set_x (actor, 200);
  clutter_actor_restore_easing_state (actor);

  [...]

  clutter_actor_set_x (actor, 100);

and have the second set_x() update the easing in progress, instead of
being ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=672945
2012-03-28 11:52:01 +01:00
..
2012-03-07 12:59:25 +00:00
2011-11-10 19:05:39 +01:00
2012-03-20 14:36:58 +00:00
2012-03-19 14:29:23 +00:00
2012-03-22 12:00:55 +00:00
2012-02-23 12:01:11 +00:00
2011-10-19 15:23:55 +01:00
2011-10-19 15:23:55 +01:00
2011-11-10 14:13:45 +00:00
2012-03-19 14:29:24 +00:00
2012-01-16 23:35:16 +00:00
2012-03-19 14:29:24 +00:00
2011-06-07 16:06:24 +01:00
2012-03-16 16:16:40 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-02-23 17:21:57 +00:00
2012-03-20 12:06:21 +00:00
2011-06-07 16:06:24 +01:00
2012-03-19 14:29:24 +00:00