FIX: Correctly update knob mapping type
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
() => {
|
||||
inputValue = key
|
||||
open = false
|
||||
deviceStore.updateKnobValueParameter(valueIndex - 1, { type: key })
|
||||
}
|
||||
"
|
||||
>
|
||||
|
||||
@@ -527,7 +527,6 @@ export const useDeviceStore = defineStore('device', {
|
||||
},
|
||||
updateKnobValueParameter(index: number, updates: object, updateDevice: boolean = true) {
|
||||
Object.assign(this.currentProfile!.knob[index], updates)
|
||||
console.log(updates)
|
||||
if (updateDevice) {
|
||||
sendDebounced(
|
||||
this.currentDeviceId!,
|
||||
|
||||
Reference in New Issue
Block a user