We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 592e3c7 + 490169b commit 3616c83Copy full SHA for 3616c83
1 file changed
src/MacVim/MMCoreTextView.m
@@ -328,7 +328,7 @@ - (void)setWideFont:(NSFont *)newFont
328
[fontWide release];
329
330
// Use 'Apple Color Emoji' font for rendering emoji
331
- CGFloat size = [font pointSize];
+ CGFloat size = [newFont pointSize] > [font pointSize] ? [font pointSize] : [newFont pointSize];
332
NSFontDescriptor *emojiDesc = [NSFontDescriptor
333
fontDescriptorWithName:@"Apple Color Emoji" size:size];
334
NSFontDescriptor *newFontDesc = [newFont fontDescriptor];
0 commit comments