From ce37fa649de8add7343d4596bacea1d458e7ed25 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sat, 24 Jan 2009 17:04:31 +0000 Subject: [PATCH] Added a comment --- src/gui/widgets/timeline/timeline-layout-helper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widgets/timeline/timeline-layout-helper.cpp b/src/gui/widgets/timeline/timeline-layout-helper.cpp index 5e8d6dd45..06bbbbc0f 100644 --- a/src/gui/widgets/timeline/timeline-layout-helper.cpp +++ b/src/gui/widgets/timeline/timeline-layout-helper.cpp @@ -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);