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:
parent
092ba4833e
commit
b593c47809
@ -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)
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user