Skip to content

Commit

Permalink
change minimum value to 0.1 and step to 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
an-prata authored and flolu committed Jul 18, 2023
1 parent 916a1fe commit be8b543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit be8b543

Please sign in to comment.