2009-Nissan-Cube / About-This-Hack

Discover your hardware on macOS with this simple, user-friendly hardware info app that retains the beloved design language of the classic 'About This Mac' interface, while gaining access to a wealth of additional features.
MIT License
290 stars 23 forks source link

Tooltip displays have extra lines, other tooltips do not (version 2.0.0) #100

Closed perez987 closed 4 months ago

perez987 commented 5 months ago

Good morning, displays tooltip breaks the appearance of the rest of tooltips. They all have consecutive lines of info but tooltip displays have blank lines between the lines of info. I suppose that !$0.isEmpty should remove the extra lines (I'm not sure if this is their purpose): .prefix { !$0.isEmpty && !$0.hasPrefix("Memory") } Can it be set to look as the rest of tooltips?

E.g. displays tooltip:

Displays

E.g. other tooltips:

GPU

Thanks for your work.

0xCUB3 commented 5 months ago

yeah I'm not sure why this is. I'll have to look into why this is randomly happening and perhaps add some code to strip empty lines.

perez987 commented 5 months ago

@0xCUB3 Thank you!

0xCUB3 commented 4 months ago

Sorry for the delay. The issue is fixed in the latest commit: CleanShot 2024-07-20 at 17 07 17