logoalt Hacker News

urbandw311ertoday at 12:46 AM1 replyview on HN

You have to wonder what’s actually going on under the hood when the curve of the hitbox is different to the curve of the window? I’m very curious to understand how Apple have got to this point.


Replies

sho_hntoday at 12:53 AM

This is relatively common. The mouse interaction code doesn't necessarily look at the visual asset, and in many UI toolkits the ability to have interaction targets located and sized differently from visual features is a feature.