1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:17:44 +00:00

Browser: Hide inspected-element outline when DOM Inspector is closed

...and then show it again when the inspector is re-opened. :^)
This commit is contained in:
Sam Atkins 2021-08-17 14:16:09 +01:00 committed by Andreas Kling
parent 607bddac96
commit 3ef4ba810a
3 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,8 @@ private:
RefPtr<GUI::TableView> m_style_table_view;
RefPtr<GUI::TableView> m_computed_style_table_view;
RefPtr<Web::DOM::Node> m_inspected_node;
// One of these will be available, depending on if we're
// in-process (m_document) or out-of-process (m_dom_json)
RefPtr<Web::DOM::Document> m_document;