mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 17:31:18 +00:00
fix root cause of NaN sizes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf0a37304e
commit
59c88abfa0
1 changed files with 2 additions and 1 deletions
|
@ -1386,10 +1386,11 @@ titleWithRepresentedFilename(NSString *representedFilename)
|
|||
{
|
||||
return 1.0;
|
||||
}
|
||||
else
|
||||
else if (_screen != nil)
|
||||
{
|
||||
return [_screen userSpaceScaleFactor];
|
||||
}
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
- (NSInteger) gState
|
||||
|
|
Loading…
Reference in a new issue