mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 21:12:26 +00:00
LibGfx: Invalidate path bounding boxes when invalidating split lines
If the lines are no longer valid then the bounding box (which is derived from the lines) is also invalid.
This commit is contained in:
parent
4436ab0cb1
commit
9e57f8d183
Notes:
sideshowbarker
2024-07-17 00:23:42 +09:00
Author: https://github.com/MacDue
Commit: 9e57f8d183
Pull-request: https://github.com/SerenityOS/serenity/pull/19431
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ public:
|
|||
private:
|
||||
void invalidate_split_lines()
|
||||
{
|
||||
m_bounding_box.clear();
|
||||
m_split_lines.clear();
|
||||
}
|
||||
void segmentize_path();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue