1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-05 17:43:00 +08:00

Merge pull request #2298 from peppy/performance-logging-toggle

Add setting to toggle performance logging
This commit is contained in:
Dan Balasescu 2018-03-24 14:14:15 +09:00 committed by GitHub
commit c9276ce2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

@ -1 +1 @@
Subproject commit d8d4f55e10ac553223db75874bae6ae4894b739a Subproject commit 99140d9d79909d1a5474e01c60e54cbdc27f6b19

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)
},
}; };
} }
} }