GUI2/Widget: draw debug borders in the foreground

This commit is contained in:
Charles Dang 2024-05-24 21:25:14 -04:00
parent d79fcdc065
commit 9f1a92d71a

View file

@ -386,7 +386,6 @@ bool widget::draw_background()
clip.shift(-get_origin());
auto clip_setter = draw::reduce_clip(clip);
draw_debug_border();
return impl_draw_background();
}
@ -429,6 +428,7 @@ bool widget::draw_foreground()
clip.shift(-get_origin());
auto clip_setter = draw::reduce_clip(clip);
draw_debug_border();
return impl_draw_foreground();
}