From 80efab900174beda14ae8dcdaf9b5090d3d2196a Mon Sep 17 00:00:00 2001 From: Evan Overman Date: Mon, 17 Jul 2023 17:27:51 -0700 Subject: [PATCH] change minimum value to 0.1 and step to 0.1 --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index da866a0..953582a 100644 --- a/main.ts +++ b/main.ts @@ -211,7 +211,7 @@ class SettingsTab extends PluginSettingTab { speedSlider = slider slider .setValue(this.plugin.settings.speed) - .setLimits(1, 10, 1) + .setLimits(0.1, 10, 0.1) .setDynamicTooltip() .onChange(async value => { this.plugin.settings.speed = value @@ -237,7 +237,7 @@ class SettingsTab extends PluginSettingTab { altMultiplierSlider = slider slider .setValue(this.plugin.settings.altMultiplier) - .setLimits(1, 10, 1) + .setLimits(0.1, 10, 0.1) .setDynamicTooltip() .onChange(async value => { this.plugin.settings.altMultiplier = value