diff options
| author | hachem <im@hachem.wtf> | 2026-08-28 03:25:56 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-28 03:25:56 +0200 |
| commit | 9a6ce759212d293a96f82678b59148d8a49efc93 (patch) | |
| tree | 684efea100bc473ce30745e8f0545e70de1f978c /src/ui/source_view.cpp | |
| parent | 801c6a8916a495162b200fff0d14cfbf89ea854c (diff) | |
add: link llvm
Diffstat (limited to 'src/ui/source_view.cpp')
| -rw-r--r-- | src/ui/source_view.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/source_view.cpp b/src/ui/source_view.cpp index 37ceffc..7f80aa8 100644 --- a/src/ui/source_view.cpp +++ b/src/ui/source_view.cpp @@ -192,10 +192,14 @@ namespace Hsdbg if (breakpoint != nullptr) { - draw_list->AddCircleFilled(marker_center, - BREAKPOINT_RADIUS, - breakpoint->enabled ? BREAKPOINT_COLOR - : BREAKPOINT_DISABLED_COLOR); + const ImU32 color = breakpoint->enabled ? BREAKPOINT_COLOR + : BREAKPOINT_DISABLED_COLOR; + + // hollow until lldb finds somewhere to actually put it + if (breakpoint->resolved) + draw_list->AddCircleFilled(marker_center, BREAKPOINT_RADIUS, color); + else + draw_list->AddCircle(marker_center, BREAKPOINT_RADIUS, color, 0, 1.5f); } else if (gutter_hovered) { |
