From a47a5e6dae6091ab07d39362603ceccd6c0c9d9d Mon Sep 17 00:00:00 2001 From: realrobots Date: Mon, 13 Oct 2025 21:14:25 +0800 Subject: [PATCH] selecting dial now selects corresponding motor in curve editor --- script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script.js b/script.js index 8a7abdf..4ffa3ce 100644 --- a/script.js +++ b/script.js @@ -283,7 +283,8 @@ window.onload = () => { document.querySelectorAll('.dial').forEach(d => d.classList.remove('selected')); el.classList.add('selected'); - + console.log(dials[selectedDial].motorID); + curveEditor.setSelectedMotor(dials[selectedDial].motorID); }; });