render set clip, fix render push vertex

This commit is contained in:
Krzosa Karol
2025-01-15 10:47:57 +01:00
parent c680d60b19
commit d99a111742
2 changed files with 13 additions and 1 deletions

View File

@@ -373,6 +373,7 @@ fn void ui_draw(void) {
rect_color = accent1_color_global;
}
// rn_set_clip(box->parent->rect);
if (is_flag_set(box->flags, ui_box_flag_draw_rect)) {
rn_draw_rect(box->rect, rect_color);
}