mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
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:
parent
edf00747ef
commit
b50e1c3b62
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user