mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
reverse default behaviour for adding control points to automation with mouse clicks. unmodified click adds new control point without guard points; ctrl-click adds new point with a guard point (old behaviour)
This commit is contained in:
parent
bf0157a0f2
commit
d81caf0680
1 changed files with 1 additions and 2 deletions
|
|
@ -122,8 +122,7 @@ AutomationRegionView::canvas_event (GdkEvent* ev)
|
|||
y = std::max (y, 0.0);
|
||||
y = std::min (y, _height - NAME_HIGHLIGHT_SIZE);
|
||||
|
||||
/* no guard points only if primary modifier is used */
|
||||
|
||||
/* guard points only if primary modifier is used */
|
||||
bool with_guard_points = Gtkmm2ext::Keyboard::modifier_state_equals (ev->button.state, Gtkmm2ext::Keyboard::PrimaryModifier);
|
||||
add_automation_event (ev, trackview.editor().pixel_to_sample (x) - _region->position() + _region->start(), y, with_guard_points);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue