mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibWeb: Remove associated transitions when clearing transitions
This fixes a crash on nextjs.org
This commit is contained in:
parent
9fbf5039a6
commit
ee54f9ee95
Notes:
github-actions[bot]
2024-09-23 15:09:50 +00:00
Author: https://github.com/ChaseKnowlden 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ee54f9ee956 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1491 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ void Animatable::remove_transition(CSS::PropertyID property_id)
|
|||
|
||||
void Animatable::clear_transitions()
|
||||
{
|
||||
m_associated_transitions.clear();
|
||||
m_transition_attribute_indices.clear();
|
||||
m_transition_attributes.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue