Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add inlay_hint icon, update search icon, update tooltips
Nate Butler3ed50708ac09
diff --git a/assets/icons/inlay_hint.svg b/assets/icons/inlay_hint.svgnew file mode 100644index 00000000000..571e2e47847--- /dev/null+++ b/assets/icons/inlay_hint.svg@@ -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>diff --git a/crates/quick_action_bar/src/quick_action_bar.rs b/crates/quick_action_bar/src/quick_action_bar.rsindex a2bddff3139..ab3ccacdb78 100644--- a/crates/quick_action_bar/src/quick_action_bar.rs+++ b/crates/quick_action_bar/src/quick_action_bar.rs@@ -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,