adjust tags in accordance with theme design pass

This commit is contained in:
Ryan Fleury
2025-05-02 13:17:17 -07:00
parent adf2eabba7
commit dddc79e852
6 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ internal UI_BOX_CUSTOM_DRAW(ui_line_edit_draw)
Vec4F32 cursor_color = ui_color_from_tags_key_name(box->tags_key, str8_lit("cursor"));
cursor_color.w *= box->parent->parent->focus_active_t;
Vec4F32 select_color = ui_color_from_tags_key_name(box->tags_key, str8_lit("selection"));
select_color.w *= 0.1f*(box->parent->parent->focus_active_t*0.2f + 0.8f);
select_color.w *= (box->parent->parent->focus_active_t*0.2f + 0.8f);
Vec2F32 text_position = ui_box_text_position(box);
String8 edited_string = draw_data->edited_string;
TxtPt cursor = draw_data->cursor;