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

@ -6779,7 +6779,6 @@ fn build_style(
text: TextStyle {
color: settings.theme.editor.text_color,
font_family_name,
font_features: settings.buffer_font_features.clone(),
font_family_id,
font_id,
font_size,