Skip to content

Commit e549f06

Browse files
committed
fix: 🐛 Show correct value for initial size in settings
The settings showed the value of the step size in the initial size slider instead of the configured initial size.
1 parent 9442495 commit e549f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class MouseWheelZoomSettingsTab extends PluginSettingTab {
277277
.setValue(500)
278278
.setLimits(0, 1000, 25)
279279
.setDynamicTooltip()
280-
.setValue(this.plugin.settings.stepSize)
280+
.setValue(this.plugin.settings.initialSize)
281281
.onChange(async (value) => {
282282
this.plugin.settings.initialSize = value
283283
await this.plugin.saveSettings()

0 commit comments

Comments
 (0)