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

@ -0,0 +1,6 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.5 2.5C6.5 5.07143 8 5.71429 9.5 7C11 8.28571 12.5 8.92857 12.5 11.5" stroke="black" stroke-width="1.25"/>
<path d="M12.5 2.5C12.5 5.07143 11 5.71429 9.5 7C8 8.28571 6.5 8.92857 6.5 11.5" stroke="black" stroke-width="1.25"/>
<circle cx="2.25" cy="9.25" r="1.25" fill="black"/>
<circle cx="2.25" cy="4.75" r="1.25" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 443 B

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,