summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-23 20:17:41 +0000
committerDavid Robillard <d@drobilla.net>2009-10-23 20:17:41 +0000
commitd2a11c8c02614c9cd9248fa17945923535110c98 (patch)
tree504c44f747361fc3ff1c0642c85e5876b28c172f /gtk2_ardour/automation_time_axis.cc
parent9aee34c9c2cb045bc5b19899aa3ae2fe5792a8de (diff)
Fix stacking of automation region views.
git-svn-id: svn://localhost/ardour2/branches/3.0@5896 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index e6186387fe..63476b051b 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -104,7 +104,9 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
mem_fun (_editor, &PublicEditor::canvas_automation_track_event),
_base_rect, this));
- // _base_rect->lower_to_bottom();
+ if (!a) {
+ _base_rect->lower_to_bottom();
+ }
hide_button.add (*(manage (new Gtk::Image (::get_icon("hide")))));
@@ -151,7 +153,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
shortened = true;
}
- plugname = new Label (pname);
+ plugname = new Label (pname);
plugname->set_name (X_("TrackPlugName"));
plugname->show();
name_label.set_name (X_("TrackParameterName"));
@@ -594,7 +596,6 @@ AutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* /*item*/, GdkE
_session.set_dirty ();
}
-
bool
AutomationTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
{