fix label rendering in cfg title fstr build

This commit is contained in:
Ryan Fleury
2026-05-14 15:00:07 -07:00
parent cb8f2749d9
commit c90cbb80aa
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -172,6 +172,14 @@ rd_title_fstrs_from_cfg(Arena *arena, CFG_Node *cfg, B32 include_extras)
start_secondary();
}
//- rjf: push label
if(label_string.size != 0)
{
dr_fstrs_push_new(arena, &result, &params, label_string, .font = rd_font_from_slot(RD_FontSlot_Code), .raster_flags = rd_raster_flags_from_slot(RD_FontSlot_Code));
dr_fstrs_push_new(arena, &result, &params, str8_lit(" "));
start_secondary();
}
//- rjf: push collection name
if(collection_name.size != 0)
{