aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/animation.rs
diff options
context:
space:
mode:
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() {