mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 01:53:20 -08:00
another checkpoint in fixing up the watch window for replacing targets/scheduler/etc
This commit is contained in:
1 parent
b6b188b67b
commit
771883c56c
3 files changed
+203
-146
No files matched your search
@@ -3213,7 +3213,7 @@ rd_line_edit(RD_LineEditFlags flags, S32 depth, FuzzyMatchRangeList *matches, Tx
|
||||
//- rjf: focus cursor
|
||||
{
|
||||
F32 visible_dim_px = dim_2f32(box->rect).x - expander_size_px - ui_top_font_size()*depth;
|
||||
if(visible_dim_px != 0)
|
||||
if(visible_dim_px > 0)
|
||||
{
|
||||
Rng1F32 cursor_range_px = r1f32(cursor_off-ui_top_font_size()*2.f, cursor_off+ui_top_font_size()*2.f);
|
||||
Rng1F32 visible_range_px = r1f32(scrollable_box->view_off_target.x, scrollable_box->view_off_target.x + visible_dim_px);
|
||||
|
||||
Reference in new issue
Block a user