mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Merge pull request #130 from anthonyc-r/title_bar_scaling
GSStandardWindowDecorationView: Apply userSpaceScaleFactor to calcula…
This commit is contained in:
commit
7064d6462c
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