selecting dial now selects corresponding motor in curve editor

node_mode
realrobots 2025-10-13 21:14:25 +08:00
parent 218e412ed2
commit a47a5e6dae
1 changed files with 2 additions and 1 deletions

View File

@ -283,7 +283,8 @@ window.onload = () => {
document.querySelectorAll('.dial').forEach(d => d.classList.remove('selected')); document.querySelectorAll('.dial').forEach(d => d.classList.remove('selected'));
el.classList.add('selected'); el.classList.add('selected');
console.log(dials[selectedDial].motorID);
curveEditor.setSelectedMotor(dials[selectedDial].motorID);
}; };
}); });