Property Search: Fix matches in headers not used for expansion

Setting the search match flag every time property search runs can
invalidate the results for panel headers. Instead, clear the flag on
every redraw and or the result of every search in the panel to it.
This commit is contained in:
2020-09-23 16:24:20 -05:00
parent 23e4bbefae
commit 15afaa3db2
3 changed files with 18 additions and 13 deletions

View File

@@ -820,7 +820,7 @@ extern void ui_draw_aligned_panel(const struct uiStyle *style,
const bool show_pin,
const bool show_background,
const bool region_search_filter_active);
void ui_panel_set_search_filter_match(struct Panel *panel, const bool value);
void ui_panel_tag_search_filter_match(struct Panel *panel);
/* interface_draw.c */
extern void ui_draw_dropshadow(