style: Make the transitions code make sense again.

This commit is contained in:
Emilio Cobos Álvarez 2018-05-05 18:27:38 +02:00
parent d44bd82703
commit d6092fae27
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 11 additions and 13 deletions

View file

@ -357,8 +357,8 @@ impl PropertyAnimation {
let property_animation = PropertyAnimation {
property: animated_property,
timing_function: timing_function,
duration: duration,
timing_function,
duration,
};
if property_animation.does_animate() {