mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 21:38:40 +00:00
fix thread-in-code-view right-clicks, after moving to more stable ctrl entity evaluation
This commit is contained in:
@@ -1422,7 +1422,7 @@ 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,
|
||||||
.expr = ctrl_string_from_handle(scratch.arena, thread->handle));
|
.expr = push_str8f(scratch.arena, "query:control.%S", 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()))
|
||||||
{
|
{
|
||||||
@@ -1576,7 +1576,7 @@ 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,
|
||||||
.expr = ctrl_string_from_handle(scratch.arena, thread->handle));
|
.expr = push_str8f(scratch.arena, "query:control.%S", 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()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user