ソースを参照

LibWeb: Implement missing members of AnimationEffect.getComputedTiming()

Matthew Olsson 1 年間 前
コミット
a7727215a6
1 ファイル変更5 行追加6 行削除
  1. 5 6
      Userland/Libraries/LibWeb/Animations/AnimationEffect.cpp

+ 5 - 6
Userland/Libraries/LibWeb/Animations/AnimationEffect.cpp

@@ -83,12 +83,11 @@ ComputedEffectTiming AnimationEffect::get_computed_timing() const
             .easing = m_easing_function,
         },
 
-        // FIXME:
-        0.0,
-        0.0,
-        0.0,
-        0.0,
-        0.0,
+        end_time(),
+        active_duration(),
+        local_time(),
+        transformed_progress(),
+        current_iteration(),
     };
 }