mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Emit TransitionEnd events in the layout thread and process it in the script thread
This commit is contained in:
parent
752c6e6019
commit
668163ec5c
21 changed files with 103 additions and 62 deletions
|
@ -1477,6 +1477,7 @@ impl LayoutThread {
|
|||
if let Some(mut root_flow) = self.root_flow.clone() {
|
||||
// Kick off animations if any were triggered, expire completed ones.
|
||||
animation::update_animation_state(&self.constellation_chan,
|
||||
&self.script_chan,
|
||||
&mut *self.running_animations.write().unwrap(),
|
||||
&mut *self.expired_animations.write().unwrap(),
|
||||
&self.new_animations_receiver,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue