chore(format): csharpier line-break GeneralTab toggle calls
This commit is contained in:
@@ -15,21 +15,51 @@ internal sealed class GeneralTab
|
||||
{
|
||||
if (ImGui.CollapsingHeader("Behavior", ImGuiTreeNodeFlags.DefaultOpen))
|
||||
{
|
||||
DrawToggle("Allow window movement", () => Plugin.Config.CanMove, v => Plugin.Config.CanMove = v);
|
||||
DrawToggle("Allow window resize", () => Plugin.Config.CanResize, v => Plugin.Config.CanResize = v);
|
||||
DrawToggle("Reduce motion (no theme crossfade)", () => Plugin.Config.ReduceMotion, v => Plugin.Config.ReduceMotion = v);
|
||||
DrawToggle("Print changelog on update", () => Plugin.Config.PrintChangelog, v => Plugin.Config.PrintChangelog = v);
|
||||
DrawToggle(
|
||||
"Allow window movement",
|
||||
() => Plugin.Config.CanMove,
|
||||
v => Plugin.Config.CanMove = v
|
||||
);
|
||||
DrawToggle(
|
||||
"Allow window resize",
|
||||
() => Plugin.Config.CanResize,
|
||||
v => Plugin.Config.CanResize = v
|
||||
);
|
||||
DrawToggle(
|
||||
"Reduce motion (no theme crossfade)",
|
||||
() => Plugin.Config.ReduceMotion,
|
||||
v => Plugin.Config.ReduceMotion = v
|
||||
);
|
||||
DrawToggle(
|
||||
"Print changelog on update",
|
||||
() => Plugin.Config.PrintChangelog,
|
||||
v => Plugin.Config.PrintChangelog = v
|
||||
);
|
||||
}
|
||||
|
||||
if (ImGui.CollapsingHeader("Notifications", ImGuiTreeNodeFlags.DefaultOpen))
|
||||
{
|
||||
DrawToggle("Show novice network", () => Plugin.Config.ShowNoviceNetwork, v => Plugin.Config.ShowNoviceNetwork = v);
|
||||
DrawToggle("Enable auto-tell tabs", () => Plugin.Config.EnableAutoTellTabs, v => Plugin.Config.EnableAutoTellTabs = v);
|
||||
DrawToggle(
|
||||
"Show novice network",
|
||||
() => 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))
|
||||
{
|
||||
DrawSlider("Custom sound volume", () => Plugin.Config.CustomSoundVolume, v => Plugin.Config.CustomSoundVolume = v, 0f, 1f);
|
||||
DrawSlider(
|
||||
"Custom sound volume",
|
||||
() => Plugin.Config.CustomSoundVolume,
|
||||
v => Plugin.Config.CustomSoundVolume = v,
|
||||
0f,
|
||||
1f
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user