Merge pull request #130 from anthonyc-r/title_bar_scaling

GSStandardWindowDecorationView: Apply userSpaceScaleFactor to calcula…
This commit is contained in:
Fred Kiefer 2022-01-11 22:13:43 +01:00 committed by GitHub
commit 7064d6462c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
if (style
& (NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask))
{
*t = [theme titlebarHeight];
*t = [[NSScreen mainScreen] userSpaceScaleFactor] * [theme titlebarHeight];
}
if (style & NSResizableWindowMask)
{