mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
LibWeb+Browser+Ladybird: Add menu action to dump paint tree
This commit is contained in:
parent
a13c21c807
commit
72d817d4ea
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/awesomekling
Commit: 72d817d4ea
5 changed files with 68 additions and 0 deletions
|
@ -364,6 +364,11 @@ void BrowserWindow::build_menus()
|
|||
active_tab().view().debug_request("dump-layout-tree");
|
||||
},
|
||||
this));
|
||||
debug_menu.add_action(GUI::Action::create(
|
||||
"Dump &Paint Tree", g_icon_bag.layout, [this](auto&) {
|
||||
active_tab().view().debug_request("dump-paint-tree");
|
||||
},
|
||||
this));
|
||||
debug_menu.add_action(GUI::Action::create(
|
||||
"Dump S&tacking Context Tree", g_icon_bag.layers, [this](auto&) {
|
||||
active_tab().view().debug_request("dump-stacking-context-tree");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue