mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Don't invalidate display list in update_animated_style_if_needed
All necessary invalidations are issued while invalidating animated style. There is no need to drop display list simply because there are some animations that might need an update.
This commit is contained in:
parent
1ce1a8f8f1
commit
c769271e82
Notes:
github-actions[bot]
2025-03-03 20:46:21 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: c769271e82
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3783
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 0 additions and 2 deletions
|
@ -1520,8 +1520,6 @@ void Document::update_animated_style_if_needed()
|
||||||
if (!m_needs_animated_style_update)
|
if (!m_needs_animated_style_update)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
invalidate_display_list();
|
|
||||||
|
|
||||||
for (auto& timeline : m_associated_animation_timelines) {
|
for (auto& timeline : m_associated_animation_timelines) {
|
||||||
for (auto& animation : timeline->associated_animations()) {
|
for (auto& animation : timeline->associated_animations()) {
|
||||||
if (animation->is_finished())
|
if (animation->is_finished())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue