fix(channels): restore auto-tell limit range to 50 and relocate enable toggle

This commit is contained in:
2026-05-30 19:04:32 +02:00
parent ca00f528d6
commit 78d56f0e3e
2 changed files with 6 additions and 6 deletions
@@ -16,12 +16,17 @@ internal sealed class ChannelsTab
{ {
if (ImGui.CollapsingHeader("Tab management", ImGuiTreeNodeFlags.DefaultOpen)) if (ImGui.CollapsingHeader("Tab management", ImGuiTreeNodeFlags.DefaultOpen))
{ {
DrawToggle(
"Enable auto-tell tabs",
() => Plugin.Config.EnableAutoTellTabs,
v => Plugin.Config.EnableAutoTellTabs = v
);
DrawSliderInt( DrawSliderInt(
"Auto-tell tabs limit", "Auto-tell tabs limit",
() => Plugin.Config.AutoTellTabsLimit, () => Plugin.Config.AutoTellTabsLimit,
v => Plugin.Config.AutoTellTabsLimit = v, v => Plugin.Config.AutoTellTabsLimit = v,
1, 1,
32 50
); );
DrawToggle( DrawToggle(
"Compact display", "Compact display",
@@ -34,11 +34,6 @@ internal sealed class GeneralTab
() => Plugin.Config.ShowNoviceNetwork, () => Plugin.Config.ShowNoviceNetwork,
v => Plugin.Config.ShowNoviceNetwork = v v => Plugin.Config.ShowNoviceNetwork = v
); );
DrawToggle(
"Enable auto-tell tabs",
() => Plugin.Config.EnableAutoTellTabs,
v => Plugin.Config.EnableAutoTellTabs = v
);
} }
if (ImGui.CollapsingHeader("Volumes", ImGuiTreeNodeFlags.DefaultOpen)) if (ImGui.CollapsingHeader("Volumes", ImGuiTreeNodeFlags.DefaultOpen))