mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Everywhere: Hook up remaining debug macros to Debug.h.
This commit is contained in:
parent
da69de1f1b
commit
eea72b9b5c
Notes:
sideshowbarker
2024-07-18 22:52:39 +09:00
Author: https://github.com/asynts
Commit: eea72b9b5c
Pull-request: https://github.com/SerenityOS/serenity/pull/5092
63 changed files with 458 additions and 287 deletions
|
@ -24,6 +24,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <AK/Debug.h>
|
||||
#include <LibGUI/HeaderView.h>
|
||||
#include <LibGUI/Model.h>
|
||||
#include <LibGUI/Painter.h>
|
||||
|
@ -257,7 +258,7 @@ void TreeView::paint_event(PaintEvent& event)
|
|||
auto rect = a_rect.translated(0, y_offset);
|
||||
auto toggle_rect = a_toggle_rect.translated(0, y_offset);
|
||||
|
||||
#ifdef DEBUG_ITEM_RECTS
|
||||
#if ITEM_RECTS_DEBUG
|
||||
painter.fill_rect(rect, Color::WarmGray);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue