Fix setting that uses a specific MIDI channel

This commit is contained in:
unframework
2026-02-08 06:26:44 +01:00
parent bc9e97b9ac
commit deb69ced9f
+2 -2
View File
@@ -121,8 +121,8 @@ export class MidiInput {
const scaled = v / 127;
this._refs[ccNum] = scaled;
this._refsByChan[ccNum] ??= {};
this._refsByChan[ccNum][chan] = scaled;
this._refsByChan[chan] ??= {};
this._refsByChan[chan][ccNum] = scaled;
this._saveState(undefined, ccNum, scaled);
this._saveState(chan, ccNum, scaled);