1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibWeb: Schedule a layout update in Document::invalidate_layout()

Otherwise, nothing will repaint until someone else decides to trigger
an update.
This commit is contained in:
Andreas Kling 2022-09-14 21:23:39 +02:00
parent 463355d1eb
commit df49a6ae9b

View file

@ -757,6 +757,7 @@ void Document::force_layout()
void Document::invalidate_layout()
{
tear_down_layout_tree();
schedule_layout_update();
}
void Document::update_layout()