Skip to content

Commit

Permalink
fix: update format
Browse files Browse the repository at this point in the history
  • Loading branch information
phlpsong committed Jan 3, 2024
1 parent b3fcf40 commit fc33677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Easydict/Feature/StatusItem/EZMenuItemManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ - (void)increaseMenuItemHeight:(NSMenuItem *)item lineHeightRatio:(CGFloat)lineH
NSFont *font = [NSFont systemFontOfSize:[NSFont systemFontSize]];
CGFloat fontLineHeight = (font.ascender + fabs(font.descender));
CGFloat lineHeight = fontLineHeight * lineHeightRatio;
NSImage *image= [[NSImage alloc] initWithSize:NSMakeSize(1, lineHeight)];
NSImage *image = [[NSImage alloc] initWithSize:NSMakeSize(1, lineHeight)];
[item setImage:image];
}

Expand Down

0 comments on commit fc33677

Please sign in to comment.