mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
LibWeb: Rename invalidate_layout() => invalidate_layout_tree()
I believe this is slightly less confusing, since what the function does is trigger a full layout tree *rebuild*, not just a relayout.
This commit is contained in:
committed by
Andreas Kling
parent
e205723b95
commit
aa8f17aea4
@@ -45,7 +45,7 @@ void SVGGraphicsElement::attribute_changed(FlyString const& name, Optional<Strin
|
||||
if (transform_list.has_value())
|
||||
m_transform = transform_from_transform_list(*transform_list);
|
||||
// FIXME: This should only invalidate the contents of the SVG.
|
||||
document().invalidate_layout();
|
||||
document().invalidate_layout_tree();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user