summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-17 22:53:58 +0200
committerRobin Gareus <robin@gareus.org>2017-06-18 22:13:02 +0200
commit973d58e8f9f6bbf79ee7eee5647d4dcc4a3ae602 (patch)
tree47c335e26ea1618baa94006d88b3391fe1574285 /gtk2_ardour/rc_option_editor.cc
parentc2cba9e57c2d1b0c18b4094521fa98d66ca3ddde (diff)
Add option add automation-lane points on the line -- #7397
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 5a4580f5d4..6af8887bd2 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2394,6 +2394,16 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (*_rc_config, &RCConfiguration::set_automation_follows_regions)
));
+ bo = new BoolOption (
+ "new-automation-points-on-lane",
+ _("Ignore Y-axis click position when adding new automation-points"),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_new_automation_points_on_lane),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_new_automation_points_on_lane)
+ );
+ add_option (_("Editor"), bo);
+ Gtkmm2ext::UI::instance()->set_tip (bo->tip_widget(),
+ _("<b>When enabled</b> The new points drawn in any automation lane will be placed on the existing line, regardless of mouse y-axis position."));
+
ComboOption<FadeShape>* fadeshape = new ComboOption<FadeShape> (
"default-fade-shape",
_("Default fade shape"),