Avoid storing fonts::Features in TextStyle

We were only using it for debugging purposes and that was causing
the `Theme` struct to become too big to hold on the stack.

Co-Authored-By: Julia Risley <julia@zed.dev>
This commit is contained in:
Antonio Scandurra 2023-03-17 15:12:02 +01:00
parent 4d915f4530
commit 786d95b8c8
4 changed files with 0 additions and 7 deletions

View file

@ -537,7 +537,6 @@ impl TerminalElement {
color: settings.theme.editor.text_color,
font_family_id: family_id,
font_family_name: font_cache.family_name(family_id).unwrap(),
font_features: font_features.clone(),
font_id,
font_size,
font_properties: Default::default(),