From fc33677d0caf9491c57b02478ca6b53fa18e085f Mon Sep 17 00:00:00 2001 From: phlpsong Date: Wed, 3 Jan 2024 21:34:25 +0800 Subject: [PATCH] fix: update format --- Easydict/Feature/StatusItem/EZMenuItemManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Easydict/Feature/StatusItem/EZMenuItemManager.m b/Easydict/Feature/StatusItem/EZMenuItemManager.m index 8f6cc96c6..b2c9462f6 100644 --- a/Easydict/Feature/StatusItem/EZMenuItemManager.m +++ b/Easydict/Feature/StatusItem/EZMenuItemManager.m @@ -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]; }