summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-26 11:48:13 -0400
committerDavid Robillard <d@drobilla.net>2015-03-26 11:48:13 -0400
commit3b38d7d8a614f73f61bbed65356ba6c158d54970 (patch)
treec72ac8f81987f8d492200d8870c4b8f26aa997ff /gtk2_ardour/automation_time_axis.cc
parent7e2c8ace4bf30ce8e27f1089370d63d7ef604cfa (diff)
Keep automation lines within their parent (#6215).
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 5798344b8a..12876c1abb 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -465,7 +465,7 @@ AutomationTimeAxisView::set_height (uint32_t h, TrackHeightMode m)
_base_rect->set_y1 (h);
if (_line) {
- _line->set_height(h);
+ _line->set_height(h - 2.5);
}
if (_view) {