Skip to content

Commit ddcf8e5

Browse files
give thermometer some padding
1 parent c0b9e17 commit ddcf8e5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MenuExtras/MenuMeterCPU/MenuMeterCPUExtra.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,9 @@ - (void)renderThermometerImageSize:(NSSize)imageSize forProcessor:(uint32_t)proc
579579

580580
// Paths
581581
NSRect thermometerFrame = NSMakeRect(offset, 0, kCPUThermometerDisplayWidth, imageSize.height);
582+
if (!ourPrefs.tallMenuBar) {
583+
thermometerFrame = NSInsetRect(thermometerFrame, 0, 1);
584+
}
582585
NSRect userRect = thermometerFrame;
583586
userRect.size.height *= (user + system) > 1 ? 1 : (user + system);
584587
NSRect systemRect = thermometerFrame;

0 commit comments

Comments
 (0)