mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 21:08:40 +00:00
only show mid-row cache line boundaries when unexpanded, since the expansion will show more precise info
This commit is contained in:
@@ -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) &&
|
if((row->eval.mode == EVAL_EvalMode_Addr || row->eval.mode == EVAL_EvalMode_NULL) &&
|
||||||
row->eval.errors.count == 0 &&
|
row->eval.errors.count == 0 &&
|
||||||
row->eval.offset%64 != 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));
|
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)
|
if(next_off%64 != 0 && row->eval.offset/64 < next_off/64)
|
||||||
|
|||||||
@@ -1045,7 +1045,7 @@ ui_table_cell_sized_begin(UI_Size size)
|
|||||||
ui_ts_cell_idx += 1;
|
ui_ts_cell_idx += 1;
|
||||||
ui_set_next_pref_width(size);
|
ui_set_next_pref_width(size);
|
||||||
ui_set_next_child_layout_axis(Axis2_X);
|
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);
|
ui_push_parent(cell);
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user