Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
buffer: Add magnifying glass icon
Piotr Osiewicz28a57662af44
diff --git a/crates/search/src/buffer_search.rs b/crates/search/src/buffer_search.rsindex 29cd32c6e5a..cffbe91fbed 100644--- a/crates/search/src/buffer_search.rs+++ b/crates/search/src/buffer_search.rs@@ -214,6 +214,7 @@ impl View for BufferSearchBar {cx,)};+ let icon_style = theme.search.editor_icon.clone();Flex::row().with_child(Flex::column()@@ -242,6 +243,13 @@ impl View for BufferSearchBar {Flex::row().with_child(Flex::row()+ .align_children_center()+ .with_child(+ Svg::for_style(icon_style.icon)+ .contained()+ .with_style(icon_style.container)+ .constrained(),+ ).with_child(ChildView::new(&self.query_editor, cx).aligned()