From cb97f5a69c1a5b45faae60f56e04a7e74e6b71d6 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Wed, 19 Jul 2023 16:56:49 -0700 Subject: [PATCH] fmt --- crates/editor/src/editor.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 6a22a1f1f2..47f31f2c94 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -8171,9 +8171,9 @@ fn build_style( line_height_scalar = match mode { EditorMode::Full => line_height_scalar, - EditorMode::AutoHeight { .. } | EditorMode::SingleLine => { - cx.font_cache().line_height(field_editor_theme.text.font_size) - } + EditorMode::AutoHeight { .. } | EditorMode::SingleLine => cx + .font_cache() + .line_height(field_editor_theme.text.font_size), }; EditorStyle {