mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
state-machine: use clutter_timeline_get_progress
This commit is contained in:
parent
8761b279a7
commit
54bd541270
@ -341,7 +341,7 @@ static void clutter_state_new_frame (ClutterTimeline *timeline,
|
||||
if (state->priv->current_animator)
|
||||
return;
|
||||
|
||||
progress = 1.0 * msecs / clutter_timeline_get_duration (timeline);
|
||||
progress = clutter_timeline_get_progress (timeline);
|
||||
|
||||
for (k = state->priv->target_state->keys; k; k = k->next)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user