mirror of
https://github.com/xallt/sync-graph-settings.git
synced 2026-07-22 07:10:28 +00:00
Set maximum possible default depth to 5
This commit is contained in:
parent
47c2b9f338
commit
85e14cb878
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -43,7 +43,7 @@ export class SyncGraphSettingTab extends PluginSettingTab {
|
|||
new Setting(containerEl)
|
||||
.setName("Default depth").addSlider((value) =>
|
||||
value
|
||||
.setLimits(1, 10, 1)
|
||||
.setLimits(1, 5, 1)
|
||||
.setValue(this.plugin.settings.defaultDepth)
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.defaultDepth = value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue