mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
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:
parent
6a6c7c23ae
commit
6949ffef21
1 changed files with 1 additions and 2 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue