1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +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:
MacDue 2023-06-16 19:02:00 +01:00 committed by Andreas Kling
parent 4436ab0cb1
commit 9e57f8d183

View file

@ -253,6 +253,7 @@ public:
private: private:
void invalidate_split_lines() void invalidate_split_lines()
{ {
m_bounding_box.clear();
m_split_lines.clear(); m_split_lines.clear();
} }
void segmentize_path(); void segmentize_path();