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))
{
DrawToggle(
"Enable auto-tell tabs",
() => Plugin.Config.EnableAutoTellTabs,
v => Plugin.Config.EnableAutoTellTabs = v
);
DrawSliderInt(
"Auto-tell tabs limit",
() => Plugin.Config.AutoTellTabsLimit,
v => Plugin.Config.AutoTellTabsLimit = v,
1,
32
50
);
DrawToggle(
"Compact display",
@@ -34,11 +34,6 @@ internal sealed class GeneralTab
() => Plugin.Config.ShowNoviceNetwork,
v => Plugin.Config.ShowNoviceNetwork = v
);
DrawToggle(
"Enable auto-tell tabs",
() => Plugin.Config.EnableAutoTellTabs,
v => Plugin.Config.EnableAutoTellTabs = v
);
}
if (ImGui.CollapsingHeader("Volumes", ImGuiTreeNodeFlags.DefaultOpen))