1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Add button to access latency comparer from game

This commit is contained in:
Dean Herbert 2022-06-07 14:40:28 +09:00
parent 0adeccbf03
commit 20cfa5d83f

View File

@ -30,13 +30,18 @@ namespace osu.Game.Overlays.Settings.Sections.DebugSettings
{
LabelText = DebugSettingsStrings.BypassFrontToBackPass,
Current = config.GetBindable<bool>(DebugSetting.BypassFrontToBackPass)
},
new SettingsButton
{
Text = DebugSettingsStrings.ImportFiles,
Action = () => performer?.PerformFromScreen(menu => menu.Push(new FileImportScreen()))
},
new SettingsButton
{
Text = @"Run latency comparer",
Action = () => performer?.PerformFromScreen(menu => menu.Push(new LatencyComparerScreen()))
}
};
Add(new SettingsButton
{
Text = DebugSettingsStrings.ImportFiles,
Action = () => performer?.PerformFromScreen(menu => menu.Push(new FileImportScreen()))
});
}
}
}