ui: use HIGHLIGHT_COL to highlight node

This commit is contained in:
luboslenco
2026-05-19 20:18:29 +02:00
parent 080d2684c1
commit 8bdde97c0f
+1 -1
View File
@@ -758,7 +758,7 @@ void ui_node_draw(ui_node_t *node, ui_node_canvas_t *canvas) {
ui_draw_shadow(nx, ny, w, h);
// Outline
draw_set_color(ui_is_selected(node) ? current->ops->theme->LABEL_COL : current->ops->theme->PRESSED_COL);
draw_set_color(ui_is_selected(node) ? current->ops->theme->HIGHLIGHT_COL : current->ops->theme->PRESSED_COL);
ui_draw_rect(true, nx - 1, ny - 1, w + 2, h + 2);
// Body