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