Skip to content

Commit

Permalink
Autoexpand directories only.
Browse files Browse the repository at this point in the history
Former-commit-id: cf307aed4364a283f9cd677fef0acd0f54024ec0
  • Loading branch information
yla committed Mar 16, 2016
1 parent b72deef commit 44892e9
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -2646,8 +2646,12 @@ public override void Over(DragEventArgs e)
{
_timer.Stop();
_currentDropTarget = DropTargetItem.RowObject;
_timer.Interval = useDelay ? delay*1000 : 0;
_timer.Start();
Path row = (Path) _currentDropTarget;
if (row.isDirectory())
{
_timer.Interval = useDelay ? delay*1000 : 0;
_timer.Start();
}
}
}
else
Expand Down

0 comments on commit 44892e9

Please sign in to comment.