mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
FP8: add metronome level reset
This commit is contained in:
parent
f18f7dca43
commit
67f2e4b866
1 changed files with 6 additions and 0 deletions
|
|
@ -318,6 +318,12 @@ FaderPort8::button_prev_next (bool next)
|
|||
void
|
||||
FaderPort8::button_encoder ()
|
||||
{
|
||||
/* special-case metronome level */
|
||||
if (_ctrls.button (FP8Controls::BtnClick).is_pressed ()) {
|
||||
Config->set_click_gain (1.0);
|
||||
_ctrls.button (FP8Controls::BtnClick).ignore_release();
|
||||
return;
|
||||
}
|
||||
switch (_ctrls.nav_mode()) {
|
||||
case NavZoom:
|
||||
ZoomToSession (); // XXX undo zoom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue