misc
This commit is contained in:
@@ -1559,11 +1559,10 @@ fn void ui_demo_update(app_frame_t *frame, mt_tweak_t *tweak_table, i32 tweak_co
|
||||
ui_set_lop(ui_lop_cut_top) {
|
||||
locl char buff[128];
|
||||
locl ui_text_input_t text_input;
|
||||
if (text_input.str == NULL) {
|
||||
text_input.str = buff;
|
||||
text_input.cap = lengthof(buff);
|
||||
}
|
||||
text_input.str = buff;
|
||||
text_input.cap = lengthof(buff);
|
||||
ui_signal_t ti_sig = ui_text_input(&text_input, true);
|
||||
if (lister_just_opened) text_input.len = 0;
|
||||
|
||||
ma_temp_t scratch = ma_begin_scratch();
|
||||
s8_t needle = s8(text_input.str, text_input.len);
|
||||
|
||||
Reference in New Issue
Block a user