minor simplification

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-12-01 09:53:54 +00:00
parent 6a6c7c23ae
commit 6949ffef21

View file

@ -1287,8 +1287,7 @@ static NSImage *unexpandable = nil;
/* If we have been hovering over an item for more than half a second,
* we should expand it.
*/
if (positionInRow > 0 && positionInRow < 3
&& [lastDragUpdate timeIntervalSinceDate: lastDragChange] >= 0.5)
if ([lastDragUpdate timeIntervalSinceDate: lastDragChange] >= 0.5)
{
item = [_items objectAtIndex: row];
if ([self isExpandable: item] && ![self isItemExpanded: item])