use button.y and modifier state when adding a control point in the midi cue automation lane
This commit is contained in:
parent
2afdeb519f
commit
dfe3c48d0f
@ -313,7 +313,8 @@ MidiCueView::make_merger ()
|
||||
bool
|
||||
MidiCueView::automation_rb_click (GdkEvent* event, Temporal::timepos_t const & pos)
|
||||
{
|
||||
automation_line->add (automation_control, event, pos, 0.5, true);
|
||||
bool with_guard_points = Keyboard::modifier_state_equals (event->button.state, Keyboard::PrimaryModifier);
|
||||
automation_line->add (automation_control, event, pos, event->button.y, with_guard_points);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user