mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +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
|
@ -509,6 +509,11 @@ void Animation::notify_timeline_time_did_change()
|
|||
}
|
||||
}
|
||||
|
||||
void Animation::effect_timing_changed(Badge<AnimationEffect>)
|
||||
{
|
||||
update_finished_state(DidSeek::No, SynchronouslyNotify::Yes);
|
||||
}
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#associated-effect-end
|
||||
double Animation::associated_effect_end() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue