stop funnelling autocompletion through via events - it is not an event-like thing, and making it one led to weirdness...

This commit is contained in:
Ryan Fleury committed 2025-05-05 20:01:44 -07:00
1 parent 64010486fe
commit 241d2454be
5 files changed
+41 -46

No files matched your search

+1 -7
View File
@@ -3221,13 +3221,7 @@ rd_cell(RD_CellParams *params, String8 string)
String8 autocomplete_hint_string = {0};
if(is_focus_active)
{
for(UI_Event *evt = 0; ui_next_event(&evt);)
{
if(evt->kind == UI_EventKind_AutocompleteHint)
{
autocomplete_hint_string = evt->string;
}
}
autocomplete_hint_string = ui_autocomplete_string();
}
//////////////////////////////