Added a comment
This commit is contained in:
parent
28c758b032
commit
ce37fa649d
1 changed files with 2 additions and 0 deletions
|
|
@ -236,6 +236,8 @@ TimelineLayoutHelper::drag_to_point(const Gdk::Point &mouse_point)
|
||||||
apply_drop_to_layout_tree(drop);
|
apply_drop_to_layout_tree(drop);
|
||||||
dropPoint = 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) &&
|
if((drop.relation == FirstChild || drop.relation == LastChild) &&
|
||||||
!target_timeline_track->get_expanded())
|
!target_timeline_track->get_expanded())
|
||||||
target_timeline_track->expand_collapse(Track::Expand);
|
target_timeline_track->expand_collapse(Track::Expand);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue