mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
layout: Make animations work... more or less.
There's some maths I've done wrong, but it DOES animate some things, though they're only triggered past the first restyle, and we probably have some duplications where the animations arrive to layout. Anyway, got to go.
This commit is contained in:
parent
c16c5acade
commit
bc970596d6
3 changed files with 77 additions and 27 deletions
|
@ -1307,7 +1307,8 @@ impl LayoutThread {
|
|||
self.profiler_metadata(),
|
||||
self.time_profiler_chan.clone(),
|
||||
|| {
|
||||
animation::recalc_style_for_animations(flow_ref::deref_mut(&mut root_flow),
|
||||
animation::recalc_style_for_animations(&layout_context,
|
||||
flow_ref::deref_mut(&mut root_flow),
|
||||
&mut animations)
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue