mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Move selection state from layout tree to paint tree
Where we paint the selection is obviously paint-related information, so let's keep it in the paint tree.
This commit is contained in:
@@ -1110,7 +1110,7 @@ void Document::update_layout()
|
||||
page().client().page_did_layout();
|
||||
}
|
||||
|
||||
m_layout_root->recompute_selection_states();
|
||||
paintable()->recompute_selection_states();
|
||||
|
||||
m_needs_layout = false;
|
||||
m_layout_update_timer->stop();
|
||||
|
||||
Reference in New Issue
Block a user