only show mid-row cache line boundaries when unexpanded, since the expansion will show more precise info

This commit is contained in:
Ryan Fleury
2024-02-02 12:53:34 -08:00
parent 15e239a0dc
commit 6897c0bb57
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1196,7 +1196,8 @@ df_eval_watch_view_build(DF_Window *ws, DF_Panel *panel, DF_View *view, DF_EvalW
if((row->eval.mode == EVAL_EvalMode_Addr || row->eval.mode == EVAL_EvalMode_NULL) &&
row->eval.errors.count == 0 &&
row->eval.offset%64 != 0 &&
row->depth > 0)
row->depth > 0 &&
!row_expanded)
{
U64 next_off = (row->eval.offset + tg_byte_size_from_graph_raddbg_key(parse_ctx.type_graph, parse_ctx.rdbg, row->eval.type_key));
if(next_off%64 != 0 && row->eval.offset/64 < next_off/64)
+1 -1
View File
@@ -1045,7 +1045,7 @@ ui_table_cell_sized_begin(UI_Size size)
ui_ts_cell_idx += 1;
ui_set_next_pref_width(size);
ui_set_next_child_layout_axis(Axis2_X);
UI_Box *cell = ui_build_box_from_stringf((column_idx > 0 ? UI_BoxFlag_DrawSideLeft : 0), "###tbl_cell_%p_%I64u", vector, vector->child_count);
UI_Box *cell = ui_build_box_from_stringf((column_idx > 0 ? UI_BoxFlag_DrawSideLeft : 0), "###tbl_cell_%p_%I64u", vector, ui_ts_cell_idx);
ui_push_parent(cell);
return cell;
}