fix(channels): restore auto-tell limit range to 50 and relocate enable toggle
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user