1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Remove y-offset from emoji fonts

This commit is contained in:
Emil Ernerfeldt
2024-09-19 08:53:46 +02:00
parent 964d730558
commit 1ca885bead

View File

@@ -278,7 +278,6 @@ impl Default for FontDefinitions {
"NotoEmoji-Regular".to_owned(),
FontData::from_static(NOTO_EMOJI_REGULAR).tweak(FontTweak {
scale: 0.81, // Make smaller
y_offset_factor: -0.120, // Move up
..Default::default()
}),
);
@@ -293,7 +292,6 @@ impl Default for FontDefinitions {
"emoji-icon-font".to_owned(),
FontData::from_static(EMOJI_ICON).tweak(FontTweak {
scale: 0.90, // Make smaller
y_offset_factor: 0.09, // Move down
..Default::default()
}),
);