no strobe for rec-enable buttons (all of them)
This commit is contained in:
parent
1b35d5824b
commit
863ad01a90
|
@ -2184,7 +2184,7 @@ ARDOUR_UI::blink_handler (bool blink_on)
|
|||
{
|
||||
sync_blink (blink_on);
|
||||
|
||||
if (!UIConfiguration::instance().get_blink_alert_indicators()) {
|
||||
if (ARDOUR_COMMAND_LINE::no_strobe || !UIConfiguration::instance().get_blink_alert_indicators()) {
|
||||
blink_on = true;
|
||||
}
|
||||
error_blink (blink_on);
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
#include "keyboard.h"
|
||||
#include "mixer_strip.h"
|
||||
#include "mixer_ui.h"
|
||||
#include "opts.h"
|
||||
#include "patch_change_widget.h"
|
||||
#include "playlist_selector.h"
|
||||
#include "plugin_pin_dialog.h"
|
||||
|
@ -1393,7 +1394,7 @@ RouteUI::blink_rec_display (bool blinkOn)
|
|||
|
||||
case Session::Disabled:
|
||||
case Session::Enabled:
|
||||
if (UIConfiguration::instance().get_blink_rec_arm()) {
|
||||
if (!ARDOUR_COMMAND_LINE::no_strobe && UIConfiguration::instance().get_blink_rec_arm()) {
|
||||
rec_enable_button->set_active_state ( blinkOn ? Gtkmm2ext::ExplicitActive : Gtkmm2ext::Off );
|
||||
} else {
|
||||
rec_enable_button->set_active_state ( ImplicitActive );
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "actions.h"
|
||||
#include "ardour_ui.h"
|
||||
#include "opts.h"
|
||||
#include "timers.h"
|
||||
#include "transport_control_ui.h"
|
||||
|
||||
|
@ -308,6 +309,10 @@ TransportControlUI::blink_rec_enable (bool onoff)
|
|||
Session::RecordState const r = _session->record_status ();
|
||||
bool const h = _session->have_rec_enabled_track ();
|
||||
|
||||
if (ARDOUR_COMMAND_LINE::no_strobe) {
|
||||
onoff = true;
|
||||
}
|
||||
|
||||
if (r == Session::Enabled || (r == Session::Recording && !h)) {
|
||||
if (onoff) {
|
||||
rec_button.set_active_state (Gtkmm2ext::ExplicitActive);
|
||||
|
|
Loading…
Reference in New Issue
Block a user