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
+2 -2
View File
@@ -7,8 +7,6 @@
// [ ] symbol server
// [ ] core dump saving/loading
//
// [ ] "autos" collection, which can be evaluated
// [ ] show "autos" inline in source code near thread?
// [ ] memory_size(...) view for quickly evaluating memory sizes
// [ ] value coloring view in watch window, so you can quickly scroll & see values outside of a threshold
//
@@ -269,6 +267,8 @@
// [x] single-line viz for pointers w/ bad (unmapped) addresses
// [x] option to prefer addresses first with string ptrs
// [x] external window focusing bugs
// [x] "autos" collection, which can be evaluated
// [x] show "autos" inline in source code near thread?
////////////////////////////////
//~ rjf: Build Options
+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)
{