GSStandardWindowDecorationView: Apply userSpaceScaleFactor to title bar height when calculating offsets

This commit is contained in:
anthony 2022-01-11 19:24:52 +00:00
parent 03eb20e71f
commit 49e30a3378

View file

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