mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Animate many more CSS properties
This commit is contained in:
parent
045831748e
commit
d843526cb8
5 changed files with 673 additions and 65 deletions
|
@ -93,7 +93,7 @@ pub fn tick_all_animations(layout_task: &LayoutTask, rw_data: &mut LayoutTaskDat
|
|||
let running_animations = mem::replace(&mut rw_data.running_animations, Vec::new());
|
||||
let now = clock_ticks::precise_time_s();
|
||||
for running_animation in running_animations.into_iter() {
|
||||
layout_task.tick_animation(running_animation, rw_data);
|
||||
layout_task.tick_animation(&running_animation, rw_data);
|
||||
|
||||
if now < running_animation.end_time {
|
||||
// Keep running the animation if it hasn't expired.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue