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:
@@ -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()
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user