Added a comment

This commit is contained in:
Joel Holdsworth 2009-01-24 17:04:31 +00:00
parent 28c758b032
commit ce37fa649d

View file

@ -236,6 +236,8 @@ TimelineLayoutHelper::drag_to_point(const Gdk::Point &mouse_point)
apply_drop_to_layout_tree(drop);
dropPoint = drop;
// Expand the branch if the user is hovering to add the track
// as a child
if((drop.relation == FirstChild || drop.relation == LastChild) &&
!target_timeline_track->get_expanded())
target_timeline_track->expand_collapse(Track::Expand);