From c7fc694fca31bbd78f8285e0d63aae5c90832f26 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 24 May 2022 10:05:48 +0200 Subject: [PATCH] fix: miscellaneous target change issue when max_power != 1 (#840) --- src/components/inputs/MiscellaneousSlider.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/inputs/MiscellaneousSlider.vue b/src/components/inputs/MiscellaneousSlider.vue index cd923557..231fa733 100644 --- a/src/components/inputs/MiscellaneousSlider.vue +++ b/src/components/inputs/MiscellaneousSlider.vue @@ -261,7 +261,7 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) { @Watch('target') targetChanged(newVal: number): void { - this.value = newVal / this.max + this.value = newVal } @Watch('value')