mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibGUI: Add GUI_HOVER_DEBUG runtime debugging flag (environment)
You can now see the outline of GUI widgets when hovering them. For example: $ export GUI_HOVER_DEBUG=1 $ FileManager Then move the mouse around in the file manager. :^)
This commit is contained in:
parent
3d4f93cf8d
commit
b3d27c2340
Notes:
sideshowbarker
2024-07-18 08:00:14 +09:00
Author: https://github.com/awesomekling
Commit: b3d27c2340
5 changed files with 16 additions and 0 deletions
|
@ -81,6 +81,9 @@ Application::Application(int argc, char** argv, Core::EventLoop::MakeInspectable
|
|||
if (getenv("GUI_FOCUS_DEBUG"))
|
||||
m_focus_debugging_enabled = true;
|
||||
|
||||
if (getenv("GUI_HOVER_DEBUG"))
|
||||
m_hover_debugging_enabled = true;
|
||||
|
||||
if (getenv("GUI_DND_DEBUG"))
|
||||
m_dnd_debugging_enabled = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue