mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-14 08:02:23 -07:00
fix query offsets
This commit is contained in:
@@ -8477,7 +8477,6 @@ rd_window_frame(void)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_PushQuery,
|
||||
.ui_key = sig.box->key,
|
||||
.off_px = v2f32(0, sig.box->rect.y1 - sig.box->rect.y0),
|
||||
.expr = push_str8f(scratch.arena, "$%I64x", tab->id));
|
||||
}
|
||||
else if(ui_middle_clicked(sig))
|
||||
@@ -8577,8 +8576,7 @@ rd_window_frame(void)
|
||||
.panel = panel->cfg->id,
|
||||
.do_implicit_root = 1,
|
||||
.do_lister = 1,
|
||||
.ui_key = add_new_box->key,
|
||||
.off_px = v2f32(0, dim_2f32(add_new_box->rect).y));
|
||||
.ui_key = add_new_box->key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1409,7 +1409,6 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
{
|
||||
rd_cmd(RD_CmdKind_PushQuery,
|
||||
.ui_key = thread_box->key,
|
||||
.off_px = v2f32(0, dim_2f32(thread_box->rect).y),
|
||||
.expr = ctrl_string_from_handle(scratch.arena, thread->handle));
|
||||
}
|
||||
if(ui_dragging(thread_sig) && !contains_2f32(thread_box->rect, ui_mouse()))
|
||||
@@ -1564,7 +1563,6 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
{
|
||||
rd_cmd(RD_CmdKind_PushQuery,
|
||||
.ui_key = thread_box->key,
|
||||
.off_px = v2f32(0, dim_2f32(thread_box->rect).y),
|
||||
.expr = ctrl_string_from_handle(scratch.arena, thread->handle));
|
||||
}
|
||||
if(ui_dragging(thread_sig) && !contains_2f32(thread_box->rect, ui_mouse()))
|
||||
@@ -1646,7 +1644,6 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
{
|
||||
rd_cmd(RD_CmdKind_PushQuery,
|
||||
.ui_key = bp_box->key,
|
||||
.off_px = v2f32(0, dim_2f32(bp_box->rect).y),
|
||||
.expr = push_str8f(scratch.arena, "$%I64x", bp->id));
|
||||
}
|
||||
|
||||
@@ -1704,7 +1701,6 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
{
|
||||
rd_cmd(RD_CmdKind_PushQuery,
|
||||
.ui_key = pin_box->key,
|
||||
.off_px = v2f32(0, dim_2f32(pin_box->rect).y),
|
||||
.expr = push_str8f(scratch.arena, "$%I64x", pin->id));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user