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
{
LabelText = "Bypass caching",
Bindable = config.GetBindable<bool>(DebugSetting.BypassCaching)
LabelText = "Show log overlay",
Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowLogOverlay)
},
new SettingsCheckbox
{
LabelText = "Debug logs",
Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.ShowLogOverlay)
}
LabelText = "Performance logging",
Bindable = frameworkConfig.GetBindable<bool>(FrameworkSetting.PerformanceLogging)
},
new SettingsCheckbox
{
LabelText = "Bypass caching (slow)",
Bindable = config.GetBindable<bool>(DebugSetting.BypassCaching)
},
};
}
}