Revert "style: Make the transitions code make sense again."

This reverts commit d6092fae27.

This change actually makes transitions start, and our code for stopping
transitions is just bogus, so we just keep re-starting them over and over, which
is not good.
This commit is contained in:
Emilio Cobos Álvarez 2018-10-17 15:46:21 +02:00
parent bcafe4188f
commit 3b7b21ebb5
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 15 additions and 17 deletions

View file

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