mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-21 13:55:43 +00:00
auto-fill ctrl+f query from selection; fix single-cell copy/paste in watch views; tweaks/fixes
This commit is contained in:
@@ -908,11 +908,13 @@ ui_pane_beginf(Rng2F32 rect, char *fmt, ...)
|
||||
return box;
|
||||
}
|
||||
|
||||
internal void
|
||||
internal UI_Signal
|
||||
ui_pane_end(void)
|
||||
{
|
||||
ui_pop_pref_width();
|
||||
ui_pop_parent();
|
||||
UI_Box *box = ui_pop_parent();
|
||||
UI_Signal sig = ui_signal_from_box(box);
|
||||
return sig;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
@@ -130,7 +130,7 @@ internal void ui_named_column_end(void);
|
||||
|
||||
internal UI_Box *ui_pane_begin(Rng2F32 rect, String8 string);
|
||||
internal UI_Box *ui_pane_beginf(Rng2F32 rect, char *fmt, ...);
|
||||
internal void ui_pane_end(void);
|
||||
internal UI_Signal ui_pane_end(void);
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Tables
|
||||
|
||||
+1
-1
@@ -1417,7 +1417,7 @@ ui_end_build(void)
|
||||
String8 box_display_string = ui_box_display_string(b);
|
||||
Vec2F32 text_pos = ui_box_text_position(b);
|
||||
Vec2F32 drawn_text_dim = b->display_string_runs.dim;
|
||||
B32 text_is_truncated = (drawn_text_dim.x + text_pos.x > rect.x1);
|
||||
B32 text_is_truncated = (drawn_text_dim.x + text_pos.x >= rect.x1);
|
||||
B32 mouse_is_hovering = contains_2f32(r2f32p(text_pos.x,
|
||||
rect.y0,
|
||||
Min(text_pos.x+drawn_text_dim.x, rect.x1),
|
||||
|
||||
Reference in New Issue
Block a user