mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 01:53:20 -08:00
shift+click to toggle bps
This commit is contained in:
1 parent
1758292074
commit
73555a2486
2 files changed
+8
-2
No files matched your search
@@ -1401,8 +1401,14 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
||||
RD_RegsScope(.entity = rd_handle_from_entity(bp)) rd_set_hover_regs(RD_RegSlot_Entity);
|
||||
}
|
||||
|
||||
// rjf: shift+click => enable breakpoint
|
||||
if(ui_clicked(bp_sig) && bp_sig.event_flags & OS_Modifier_Shift)
|
||||
{
|
||||
rd_cmd(bp->disabled ? RD_CmdKind_EnableEntity : RD_CmdKind_DisableEntity, .entity = rd_handle_from_entity(bp));
|
||||
}
|
||||
|
||||
// rjf: click => remove breakpoint
|
||||
if(ui_clicked(bp_sig))
|
||||
if(ui_clicked(bp_sig) && bp_sig.event_flags == 0)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_RemoveEntity, .entity = rd_handle_from_entity(bp));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user