Avoid infinitely looping CSS transitions.

This commit is contained in:
Josh Matthews 2020-03-31 12:13:56 -04:00
parent 236762880c
commit 2bb6ab4567
6 changed files with 61 additions and 20 deletions

View file

@ -110,6 +110,7 @@ pub fn update_animation_state<E>(
.unwrap();
}
debug!("expiring animation for {:?}", running_animation);
expired_animations
.entry(*key)
.or_insert_with(Vec::new)