On my laptop (13" MacBook Air M1), self._status_bar.thickness() is 22px. So, to make it retina-quality (2x), I need to pass an icon with a 44x44px resolution. But then the code above resizes it back to 22x22px, and the icon becomes blurry.
Would be great to have some way to pass high-quality retina icons!
Hi, thanks for the lib!
I have a problem with setting up high-quality retina icons on MacOS.
I think it happens because of this code: https://github.com/moses-palmer/pystray/blob/1907f8681d6d421517c63d94f425f9cdd74d0034/lib/pystray/_darwin.py#L166-L174
On my laptop (13" MacBook Air M1),
self._status_bar.thickness()
is 22px. So, to make it retina-quality (2x), I need to pass an icon with a 44x44px resolution. But then the code above resizes it back to 22x22px, and the icon becomes blurry.Would be great to have some way to pass high-quality retina icons!