1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 23:00:48 +08:00

Hide entire general section

This commit is contained in:
Dan Balasescu
2025-07-15 13:44:49 +09:00
Unverified
parent 1c243b25b2
commit a80a9bbfd1
2 changed files with 7 additions and 10 deletions
@@ -21,10 +21,11 @@ namespace osu.Game.Overlays.Settings.Sections
public DebugSection()
{
Add(new GeneralSettings());
if (DebugUtils.IsDebugBuild)
{
Add(new GeneralSettings());
Add(new BatchImportSettings());
}
Add(new MemorySettings());
}
@@ -3,7 +3,6 @@
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Development;
using osu.Framework.Localisation;
namespace osu.Game.Overlays.Settings.Sections.DebugSettings
@@ -21,14 +20,11 @@ namespace osu.Game.Overlays.Settings.Sections.DebugSettings
Current = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowLogOverlay)
});
if (DebugUtils.IsDebugBuild)
Add(new SettingsCheckbox
{
Add(new SettingsCheckbox
{
LabelText = @"Bypass front-to-back render pass",
Current = config.GetBindable<bool>(DebugSetting.BypassFrontToBackPass)
});
}
LabelText = @"Bypass front-to-back render pass",
Current = config.GetBindable<bool>(DebugSetting.BypassFrontToBackPass)
});
}
}
}