Skip to content

Commit

Permalink
Update SettingTab.ts (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Acylation authored Apr 27, 2024
1 parent 19c70e0 commit 88e0b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings/SettingTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class ChemSettingTab extends PluginSettingTab {
});

const scaleSlider = new SliderComponent(scaleSetting.controlEl)
.setValue(this.plugin.settings.commonOptions.scale ?? 1.0)
.setLimits(0.0, 2, 0.01)
.setValue(this.plugin.settings.commonOptions.scale ?? 1.0)
.setDynamicTooltip()
.onChange(async (value) => {
this.plugin.settings.smilesDrawerOptions.moleculeOptions.scale =
Expand Down

0 comments on commit 88e0b21

Please sign in to comment.