summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-25 11:35:55 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-25 12:02:50 -0500
commit0bcf3001f5d071dacb9231be4f9956cfd4bb93d3 (patch)
tree7bb182a34015cfeef9b8e7df3e9c93ea74f819c3 /gtk2_ardour/automation_line.cc
parent737aae908af36ef6b4bd7592c514d2fa48638525 (diff)
fiddle with single pixel adjustments to time axis view item heights; fix region gain envelope visibility
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r--gtk2_ardour/automation_line.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc
index 5c5474346d..efba3999c8 100644
--- a/gtk2_ardour/automation_line.cc
+++ b/gtk2_ardour/automation_line.cc
@@ -1007,9 +1007,9 @@ AutomationLine::reset_callback (const Evoral::ControlList& events)
line->set (line_points);
- if (_visible && alist->interpolation() != AutomationList::Discrete) {
- line->show();
- }
+ /* despite the name, this may show or hide things */
+
+ show();
}
set_selected_points (trackview.editor().get_selection().points);