1
0
Fork 0

actor: Do not set remove-on-complete on implicit transitions

The implicitly created transitions are removed when complete by the
implicit transition machinery. The remove-on-complete hint is for
user-provided transitions.

https://bugzilla.gnome.org/show_bug.cgi?id=705739
This commit is contained in:
Emmanuele Bassi 2013-08-16 10:17:15 +01:00
parent edf00747ef
commit b50e1c3b62

View file

@ -18869,12 +18869,10 @@ _clutter_actor_create_transition (ClutterActor *actor,
clos = g_hash_table_lookup (info->transitions, pspec->name);
if (clos == NULL)
{
interval = clutter_interval_new_with_values (ptype, &initial, &final);
res = clutter_property_transition_new (pspec->name);
interval = clutter_interval_new_with_values (ptype, &initial, &final);
clutter_transition_set_interval (res, interval);
clutter_transition_set_remove_on_complete (res, TRUE);
timeline = CLUTTER_TIMELINE (res);
clutter_timeline_set_delay (timeline, info->cur_state->easing_delay);