style(format): apply csharpier and markdownlint reflow
This commit is contained in:
@@ -33,7 +33,8 @@ internal sealed class General : ISettingsTab
|
||||
private void DrawInputSection(bool sectionJustEntered)
|
||||
{
|
||||
// Collapse every time the tab is freshly entered so state doesn't bleed across sessions.
|
||||
if (sectionJustEntered) ImGui.SetNextItemOpen(false);
|
||||
if (sectionJustEntered)
|
||||
ImGui.SetNextItemOpen(false);
|
||||
using var tree = ImRaii.TreeNode(HellionStrings.Settings_Section_Input);
|
||||
if (!tree.Success)
|
||||
return;
|
||||
@@ -86,7 +87,8 @@ internal sealed class General : ISettingsTab
|
||||
private void DrawSoundSection(bool sectionJustEntered)
|
||||
{
|
||||
// Collapse every time the tab is freshly entered so state doesn't bleed across sessions.
|
||||
if (sectionJustEntered) ImGui.SetNextItemOpen(false);
|
||||
if (sectionJustEntered)
|
||||
ImGui.SetNextItemOpen(false);
|
||||
using var tree = ImRaii.TreeNode(HellionStrings.Settings_Section_Sound);
|
||||
if (!tree.Success)
|
||||
return;
|
||||
@@ -113,14 +115,19 @@ internal sealed class General : ISettingsTab
|
||||
Mutable.CustomSoundVolume = customSoundVolumePercent / 100f;
|
||||
}
|
||||
// Show the functional description and the per-tab navigation hint together.
|
||||
ImGuiUtil.HelpMarker(HellionStrings.Settings_General_CustomSoundVolume_Description + "\n\n" + HellionStrings.Settings_Section_Sound_TabsHint);
|
||||
ImGuiUtil.HelpMarker(
|
||||
HellionStrings.Settings_General_CustomSoundVolume_Description
|
||||
+ "\n\n"
|
||||
+ HellionStrings.Settings_Section_Sound_TabsHint
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawLanguageSection(bool sectionJustEntered)
|
||||
{
|
||||
// Collapse every time the tab is freshly entered so state doesn't bleed across sessions.
|
||||
if (sectionJustEntered) ImGui.SetNextItemOpen(false);
|
||||
if (sectionJustEntered)
|
||||
ImGui.SetNextItemOpen(false);
|
||||
using var tree = ImRaii.TreeNode(HellionStrings.Settings_Section_Language);
|
||||
if (!tree.Success)
|
||||
return;
|
||||
@@ -191,7 +198,8 @@ internal sealed class General : ISettingsTab
|
||||
private void DrawPerformanceSection(bool sectionJustEntered)
|
||||
{
|
||||
// Collapse every time the tab is freshly entered so state doesn't bleed across sessions.
|
||||
if (sectionJustEntered) ImGui.SetNextItemOpen(false);
|
||||
if (sectionJustEntered)
|
||||
ImGui.SetNextItemOpen(false);
|
||||
using var tree = ImRaii.TreeNode(HellionStrings.Settings_Section_Performance);
|
||||
if (!tree.Success)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user