mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:07:34 +00:00
LibWeb: Run update_finished_state when setting AnimationEffect's timing
This will need to a necessary style invalidation
This commit is contained in:
parent
6d25bf3aac
commit
3721a1a81c
3 changed files with 10 additions and 0 deletions
|
@ -151,6 +151,9 @@ WebIDL::ExceptionOr<void> AnimationEffect::update_timing(OptionalEffectTiming ti
|
|||
if (timing.easing.has_value())
|
||||
m_easing_function = timing.easing.value();
|
||||
|
||||
if (auto animation = m_associated_animation)
|
||||
animation->effect_timing_changed({});
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue