preserve dbgi fuzzy searching results based on key alone, rather than throwing away all results if params change (although still re-querying if params change); also fix not clearing the autocompletion string gathered for a UI build across frames

This commit is contained in:
Ryan Fleury
2025-05-06 09:31:16 -07:00
parent e5a2f6da11
commit 2b1e286aad
2 changed files with 5 additions and 5 deletions
+1
View File
@@ -833,6 +833,7 @@ ui_begin_build(OS_Handle window, UI_EventList *events, UI_IconInfo *icon_info, U
ui_state->tags_key_stack_top = ui_state->tags_key_stack_free = 0;
ui_state->tags_cache_slots_count = 512;
ui_state->tags_cache_slots = push_array(ui_build_arena(), UI_TagsCacheSlot, ui_state->tags_cache_slots_count);
ui_state->autocomplete_string = str8_zero();
}
//- rjf: prune unused animation nodes