FIX: Correctly update knob mapping type
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
() => {
|
() => {
|
||||||
inputValue = key
|
inputValue = key
|
||||||
open = false
|
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) {
|
updateKnobValueParameter(index: number, updates: object, updateDevice: boolean = true) {
|
||||||
Object.assign(this.currentProfile!.knob[index], updates)
|
Object.assign(this.currentProfile!.knob[index], updates)
|
||||||
console.log(updates)
|
|
||||||
if (updateDevice) {
|
if (updateDevice) {
|
||||||
sendDebounced(
|
sendDebounced(
|
||||||
this.currentDeviceId!,
|
this.currentDeviceId!,
|
||||||
|
|||||||
Reference in New Issue
Block a user