From d79d2807b185605b51ad0247fbf644b953d04650 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 29 Dec 2019 18:53:22 -0700 Subject: expand use of new BasicUI API for transport button state to all control surfaces --- libs/surfaces/us2400/us2400_control_protocol.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/surfaces/us2400') diff --git a/libs/surfaces/us2400/us2400_control_protocol.cc b/libs/surfaces/us2400/us2400_control_protocol.cc index 1467d41770..dcaec531d1 100644 --- a/libs/surfaces/us2400/us2400_control_protocol.cc +++ b/libs/surfaces/us2400/us2400_control_protocol.cc @@ -1062,10 +1062,10 @@ US2400Protocol::notify_transport_state_changed() } // switch various play and stop buttons on / off - update_global_button (Button::Play, session->transport_speed() == 1.0); - update_global_button (Button::Stop, session->transport_stopped_or_stopping ()); - update_global_button (Button::Rewind, session->transport_speed() < 0.0); - update_global_button (Button::Ffwd, session->transport_speed() > 1.0); + update_global_button (Button::Play, play_button_onoff()); + update_global_button (Button::Stop, stop_button_onoff()); + update_global_button (Button::Rewind, rewind_button_onoff()); + update_global_button (Button::Ffwd, ffwd_button_onoff()); // sometimes a return to start leaves time code at old time _timecode_last = string (10, ' '); -- cgit v1.2.3