diff --git a/main.py b/main.py index 61c41fa..2b12076 100644 --- a/main.py +++ b/main.py @@ -2165,12 +2165,11 @@ def midi_message_route_hw_to_output_cc(fader_uid, value): if t.uid == fader_uid: t.cc_input_lbl.setText(f"CC{t.hw_cc} [{value}]") if t.output_mode == "osc": - if value > 0: - addr = t.osc_addr_edit.text().strip() or "/play" - send_osc_message(addr, 1.0) - t.cc_output_lbl.setText(f"{addr} [1.0]") - t.led_dot.setStyleSheet("background-color: #00e676; border-radius: 3px;") - QTimer.singleShot(150, lambda: t.led_dot.setStyleSheet("background-color: #3c3c3c; border-radius: 3px;")) + addr = t.osc_addr_edit.text().strip() or "/play" + send_osc_message(addr, 1.0) + t.cc_output_lbl.setText(f"{addr} [1.0]") + t.led_dot.setStyleSheet("background-color: #00e676; border-radius: 3px;") + QTimer.singleShot(150, lambda: t.led_dot.setStyleSheet("background-color: #3c3c3c; border-radius: 3px;")) else: out_cc = t.cc_spin.value() if t.trigger_mode == "momentary":