Add tooltip for toggling filters (#15879)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2024-08-06 15:51:53 -04:00 committed by GitHub
parent 7366c85dd3
commit 11c6ada08f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1414,7 +1414,8 @@ impl Render for ProjectSearchBar {
.as_ref()
.map(|search| search.read(cx).filters_enabled)
.unwrap_or_default(),
),
)
.tooltip(|cx| Tooltip::for_action("Toggle filters", &ToggleFilters, cx)),
)
.child(
IconButton::new("project-search-toggle-replace", IconName::Replace)