1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Add setting to toggle performance logging

This commit is contained in:
Dean Herbert 2018-03-24 05:07:48 +09:00
parent 092ba4833e
commit b593c47809

View File

@ -18,14 +18,19 @@ namespace osu.Game.Overlays.Settings.Sections.Debug
{ {
new SettingsCheckbox new SettingsCheckbox
{ {
LabelText = "Bypass caching", LabelText = "Show log overlay",
Bindable = config.GetBindable<bool>(DebugSetting.BypassCaching) Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowLogOverlay)
}, },
new SettingsCheckbox new SettingsCheckbox
{ {
LabelText = "Debug logs", LabelText = "Performance logging",
Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowLogOverlay) Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.PerformanceLogging)
} },
new SettingsCheckbox
{
LabelText = "Bypass caching (slow)",
Bindable = config.GetBindable<bool>(DebugSetting.BypassCaching)
},
}; };
} }
} }