Add inlay_hint icon, update search icon, update tooltips

This commit is contained in:
Nate Butler 2023-08-16 11:25:11 -04:00 committed by Kirill Bulatov
parent f9131f657e
commit 3ed50708ac
2 changed files with 10 additions and 4 deletions

View file

@ -45,10 +45,10 @@ impl View for QuickActionBar {
let inlay_hints_enabled = editor.read(cx).inlay_hints_enabled();
let mut bar = Flex::row().with_child(render_quick_action_bar_button(
0,
"icons/hamburger_15.svg",
"icons/inlay_hint.svg",
inlay_hints_enabled,
(
"Inlay hints".to_string(),
"Toggle Inlay Hints".to_string(),
Some(Box::new(editor::ToggleInlayHints)),
),
cx,
@ -67,10 +67,10 @@ impl View for QuickActionBar {
bar = bar.with_child(render_quick_action_bar_button(
1,
"icons/magnifying_glass_12.svg",
"icons/magnifying_glass.svg",
search_bar_shown,
(
"Buffer search".to_string(),
"Buffer Search".to_string(),
Some(Box::new(search_action.clone())),
),
cx,