From 7560353472b6b8de62d9899d744060063b30dbfb Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Fri, 26 Jan 2024 14:45:05 +0300 Subject: [PATCH] Fixed #5097 - nob: Problem with the step property when using the keyboard arrows --- components/lib/knob/Knob.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/knob/Knob.vue b/components/lib/knob/Knob.vue index d505184b4..b5db4b9f9 100644 --- a/components/lib/knob/Knob.vue +++ b/components/lib/knob/Knob.vue @@ -127,7 +127,7 @@ export default { case 'ArrowUp': { event.preventDefault(); - this.updateModelValue(this.modelValue + 1); + this.updateModelValue(this.modelValue + this.step); break; } @@ -135,7 +135,7 @@ export default { case 'ArrowDown': { event.preventDefault(); - this.updateModelValue(this.modelValue - 1); + this.updateModelValue(this.modelValue - this.step); break; }