mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
GSStandardWindowDecorationView: Apply userSpaceScaleFactor to title bar height when calculating offsets
This commit is contained in:
parent
03eb20e71f
commit
49e30a3378
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
if (style
|
||||
& (NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask))
|
||||
{
|
||||
*t = [theme titlebarHeight];
|
||||
*t = [[NSScreen mainScreen] userSpaceScaleFactor] * [theme titlebarHeight];
|
||||
}
|
||||
if (style & NSResizableWindowMask)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue