mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
make Ben's cool range select hack work with Push 2
This commit is contained in:
parent
e25a4371cb
commit
67e415e14c
3 changed files with 14 additions and 0 deletions
|
|
@ -364,6 +364,17 @@ Push2::button_play ()
|
|||
return;
|
||||
}
|
||||
|
||||
if (_modifier_state & ModSelect) {
|
||||
if (in_range_select) {
|
||||
in_range_select = true;
|
||||
access_action ("Editor/start-range-from-playhead");
|
||||
} else {
|
||||
access_action ("Editor/finish-range-from-playhead");
|
||||
in_range_select = false;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (session->transport_rolling ()) {
|
||||
transport_stop ();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue