Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add `.SystemUIFont` to font list (#15340)

张小白60af9dd4b152
diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs
index fa564f80971..c946fe9e1ed 100644
--- a/crates/gpui/src/text_system.rs
+++ b/crates/gpui/src/text_system.rs
@@ -84,6 +84,7 @@ impl TextSystem {
.iter()
.map(|font| font.family.to_string()),
);
+ names.push(".SystemUIFont".to_string());
names.sort();
names.dedup();
names