From c8509a8e7fc9ce40cdd7a6d45e01717e92c222ba Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Mon, 27 May 2024 15:50:29 +0200 Subject: [PATCH] FIX: Correctly update knob mapping type --- src/renderer/src/components/config/values/ValueCard.vue | 1 + src/renderer/src/deviceStore.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/config/values/ValueCard.vue b/src/renderer/src/components/config/values/ValueCard.vue index 1e7a45f..cc569c7 100644 --- a/src/renderer/src/components/config/values/ValueCard.vue +++ b/src/renderer/src/components/config/values/ValueCard.vue @@ -40,6 +40,7 @@ () => { inputValue = key open = false + deviceStore.updateKnobValueParameter(valueIndex - 1, { type: key }) } " > diff --git a/src/renderer/src/deviceStore.ts b/src/renderer/src/deviceStore.ts index 852d53c..5430542 100644 --- a/src/renderer/src/deviceStore.ts +++ b/src/renderer/src/deviceStore.ts @@ -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!,