FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1k stars 18 forks source link

[Request] Option to have high res window borders #24

Closed emilknievel closed 9 months ago

emilknievel commented 9 months ago

Hi,

I have noticed that the borders are a bit "blurry". I think there was an option in yabai when it had borders integrated that allowed us to select more high resolution rendering.

I have attached an image below that shows what I'm talking about.

Best regards.

bild
FelixKratz commented 9 months ago

I mainly chose to default to 1x scale on the borders to save memory and cpu time when redrawing, but it is of course trivial to change the resolution to 2x scale here possibly with an option: https://github.com/FelixKratz/JankyBorders/blob/09ec9196570fe9e25ce788bfbcc3399d3c1cee78/src/helpers.h#L227

emilknievel commented 9 months ago

Totally.

I just made the mistake of looking too closely and now I can't unsee the fuzz 🙈

emilknievel commented 9 months ago

Tried it out from --HEAD and it works like a charm. Thank you.