From 85e14cb878a01990ce4e1dcf6989eafb375c3bee Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 9 May 2024 14:55:48 +0400 Subject: [PATCH] Set maximum possible default depth to 5 --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 023e66e..1a267be 100644 --- a/main.ts +++ b/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;