summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.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_line.cc
parent7e2c8ace4bf30ce8e27f1089370d63d7ef604cfa (diff)
Keep automation lines within their parent (#6215).
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r--gtk2_ardour/automation_line.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc
index d5ed529ad8..ed0321a2d7 100644
--- a/gtk2_ardour/automation_line.cc
+++ b/gtk2_ardour/automation_line.cc
@@ -105,7 +105,7 @@ AutomationLine::AutomationLine (const string& name,
terminal_points_can_slide = true;
_height = 0;
- group = new ArdourCanvas::Container (&parent);
+ group = new ArdourCanvas::Container (&parent, ArdourCanvas::Duple(0, 1.5));
CANVAS_DEBUG_NAME (group, "region gain envelope group");
line = new ArdourCanvas::PolyLine (group);