Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use buffer font for search (#10455)
Conrad Irwin98533079e4a6
diff --git a/crates/search/src/buffer_search.rs b/crates/search/src/buffer_search.rsindex 5a1d4bafaa7..34dcf602f6a 100644--- a/crates/search/src/buffer_search.rs+++ b/crates/search/src/buffer_search.rs@@ -113,8 +113,8 @@ impl BufferSearchBar {} else {color},- font_family: settings.ui_font.family.clone(),- font_features: settings.ui_font.features,+ font_family: settings.buffer_font.family.clone(),+ font_features: settings.buffer_font.features,font_size: rems(0.875).into(),font_weight: FontWeight::NORMAL,font_style: FontStyle::Normal,diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rsindex ebbef2fddaf..805c8cbe6eb 100644--- a/crates/search/src/project_search.rs+++ b/crates/search/src/project_search.rs@@ -1422,8 +1422,8 @@ impl ProjectSearchBar {} else {cx.theme().colors().text},- font_family: settings.ui_font.family.clone(),- font_features: settings.ui_font.features,+ font_family: settings.buffer_font.family.clone(),+ font_features: settings.buffer_font.features,font_size: rems(0.875).into(),font_weight: FontWeight::NORMAL,font_style: FontStyle::Normal,