13
0

faderport: more interesting behaviour for the play button (locate to last start if pressed while rolling, then keep rolling)

This commit is contained in:
Paul Davis 2015-11-24 23:31:29 -05:00
parent 9c64d63ebb
commit 7ae380c7f6

View File

@ -128,7 +128,7 @@ FaderPort::FaderPort (Session& s)
button_info (Undo).set_action (boost::bind (&FaderPort::redo, this), true, ShiftDown);
button_info (Undo).set_flash (true);
button_info (Play).set_action (boost::bind (&BasicUI::transport_play, this, false), true);
button_info (Play).set_action (boost::bind (&BasicUI::transport_play, this, true), true);
button_info (RecEnable).set_action (boost::bind (&BasicUI::rec_enable_toggle, this), true);
/* Stop is a modifier, so we have to use its own button state to get
the default action (since StopDown will be set when looking for the