Since macOS Big Sur changes the size of the titlebar by default, it can lead to things looking kind of strange when you roll your own titlebar (like in Oni). This adds an API to get the size of the titlebar from Cocoa itself, so we don't have to make guesses from the version of macOS or something like that.
Since macOS Big Sur changes the size of the titlebar by default, it can lead to things looking kind of strange when you roll your own titlebar (like in Oni). This adds an API to get the size of the titlebar from Cocoa itself, so we don't have to make guesses from the version of macOS or something like that.