mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
trigger_ui: trigger-master button should follow conventions of other Stop buttons
Normally the Stop occurs quantized (on bar ending). Primary-modifier means 'stop now'
This commit is contained in:
parent
a43e3d88e5
commit
f5c2697f4f
2 changed files with 8 additions and 6 deletions
|
|
@ -612,13 +612,10 @@ CueMaster::event_handler (GdkEvent* ev)
|
|||
switch (ev->type) {
|
||||
case GDK_BUTTON_PRESS:
|
||||
if (ev->button.button == 1) {
|
||||
/* stop all running triggers, but let them run
|
||||
to their natural end
|
||||
*/
|
||||
if (Keyboard::modifier_state_equals (ev->button.state, Keyboard::PrimaryModifier)) {
|
||||
_session->stop_all_triggers (true);
|
||||
_session->stop_all_triggers (true); //stop 'now'
|
||||
} else {
|
||||
_session->stop_all_triggers (false);
|
||||
_session->stop_all_triggers (false); //stop quantized (bar end)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue