aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/animation.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-10-17 15:46:21 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-10-19 01:21:04 +0200
commit3b7b21ebb5f769789fc65fb90e98636b53f3860a (patch)
tree36c98df114bffc1aacac96deead7c2afb0a63fe9 /components/style/animation.rs
parentbcafe4188f347af6089e801d8c9c9d2f3a4ca017 (diff)
downloadservo-3b7b21ebb5f769789fc65fb90e98636b53f3860a.tar.gz
servo-3b7b21ebb5f769789fc65fb90e98636b53f3860a.zip
Revert "style: Make the transitions code make sense again."
This reverts commit d6092fae27a55345ac9fa82f4d2195130ec01318. 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.
Diffstat (limited to 'components/style/animation.rs')
-rw-r--r--components/style/animation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/animation.rs b/components/style/animation.rs
index 17e8b0981fb..5d96f5cacd1 100644
--- a/components/style/animation.rs
+++ b/components/style/animation.rs
@@ -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() {