mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 23:22:41 +03:00
settings: Suggest fonts bundled in Zed (#4102)
Fixes an issue where Zed Sans is not being suggested as a font. Release Notes: - N/A
This commit is contained in:
parent
6cbc49e5f0
commit
ec2b299ecb
@ -87,6 +87,9 @@ impl PlatformTextSystem for MacTextSystem {
|
||||
for descriptor in descriptors.into_iter() {
|
||||
names.insert(descriptor.display_name());
|
||||
}
|
||||
if let Ok(fonts_in_memory) = self.0.read().memory_source.all_families() {
|
||||
names.extend(fonts_in_memory);
|
||||
}
|
||||
names.into_iter().collect()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user