From 098032eb0587a76d350a6eefc03124c9c324edde Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 19 Sep 2024 09:06:53 +0200 Subject: [PATCH] Fix comment --- crates/epaint/src/text/fonts.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/epaint/src/text/fonts.rs b/crates/epaint/src/text/fonts.rs index 1a38619ee3a..df583c96727 100644 --- a/crates/epaint/src/text/fonts.rs +++ b/crates/epaint/src/text/fonts.rs @@ -270,14 +270,13 @@ impl Default for FontDefinitions { let mut families = BTreeMap::new(); - // We tweak the fonts slightly to improve their vertical alignment in buttons etc: font_data.insert("Hack".to_owned(), FontData::from_static(HACK_REGULAR)); // Some good looking emojis. Use as first priority: font_data.insert( "NotoEmoji-Regular".to_owned(), FontData::from_static(NOTO_EMOJI_REGULAR).tweak(FontTweak { - scale: 0.81, // Make smaller + scale: 0.81, // Make smaller ..Default::default() }), ); @@ -291,7 +290,7 @@ impl Default for FontDefinitions { font_data.insert( "emoji-icon-font".to_owned(), FontData::from_static(EMOJI_ICON).tweak(FontTweak { - scale: 0.90, // Make smaller + scale: 0.90, // Make smaller ..Default::default() }), );