mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:30:48 +00:00
try to avoid infinite recursion by being less demanding about exact equality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37808 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
da72380580
commit
0d02e513d8
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ static NSString *placeholderItem = nil;
|
|||
|
||||
CGFloat width = [self bounds].size.width;
|
||||
|
||||
if (width == _tileWidth)
|
||||
if (ABS(width - _tileWidth) <= 1)
|
||||
return;
|
||||
|
||||
NSSize itemSize = NSMakeSize(_minItemSize.width, _minItemSize.height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue