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:
@@ -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)
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user