mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 17:43:20 -08:00
more convergence, fixes, use new tab options mechanism to allow disabling line numbers in text/disasm
This commit is contained in:
1 parent
e2bfecc384
commit
5596f1c8a3
8 files changed
+516
-470
No files matched your search
@@ -3294,12 +3294,12 @@ rd_line_edit(RD_LineEditParams *params, String8 string)
|
||||
F32 cursor_off = 0;
|
||||
UI_Parent(scrollable_box)
|
||||
{
|
||||
if(ui_top_text_alignment() == UI_TextAlign_Left && (params->flags & (RD_LineEditFlag_Expander|RD_LineEditFlag_ExpanderSpace|RD_LineEditFlag_ExpanderPlaceholder)) == 0)
|
||||
{
|
||||
ui_spacer(ui_em(0.5f, 1.f));
|
||||
}
|
||||
if(!is_focus_active && !is_focus_active_disabled && params->fstrs.total_size != 0)
|
||||
{
|
||||
if(ui_top_text_alignment() == UI_TextAlign_Left && (params->flags & (RD_LineEditFlag_Expander|RD_LineEditFlag_ExpanderSpace|RD_LineEditFlag_ExpanderPlaceholder)) == 0)
|
||||
{
|
||||
ui_spacer(ui_em(0.5f, 1.f));
|
||||
}
|
||||
UI_Box *label = ui_build_box_from_key(UI_BoxFlag_DrawText, ui_key_zero());
|
||||
ui_box_equip_display_fstrs(label, ¶ms->fstrs);
|
||||
if(params->fuzzy_matches != 0)
|
||||
|
||||
Reference in new issue
Block a user