From 16fa8395c76f2d388031167ac477790e005c202c Mon Sep 17 00:00:00 2001 From: Paul Lipscomb Date: Mon, 29 Jun 2026 03:56:16 -0400 Subject: [PATCH] momentary fix --- main.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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":