From 3ed50708ac09274b5074a86a110e0ce7ac0162b7 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Wed, 16 Aug 2023 11:25:11 -0400 Subject: [PATCH] Add inlay_hint icon, update search icon, update tooltips --- assets/icons/inlay_hint.svg | 6 ++++++ crates/quick_action_bar/src/quick_action_bar.rs | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 assets/icons/inlay_hint.svg diff --git a/assets/icons/inlay_hint.svg b/assets/icons/inlay_hint.svg new file mode 100644 index 0000000000..571e2e4784 --- /dev/null +++ b/assets/icons/inlay_hint.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/crates/quick_action_bar/src/quick_action_bar.rs b/crates/quick_action_bar/src/quick_action_bar.rs index a2bddff313..ab3ccacdb7 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,