1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 08:13:10 +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, LabelText = DebugSettingsStrings.BypassFrontToBackPass,
Current = config.GetBindable<bool>(DebugSetting.BypassFrontToBackPass) Current = config.GetBindable<bool>(DebugSetting.BypassFrontToBackPass)
} },
}; new SettingsButton
Add(new SettingsButton
{ {
Text = DebugSettingsStrings.ImportFiles, Text = DebugSettingsStrings.ImportFiles,
Action = () => performer?.PerformFromScreen(menu => menu.Push(new FileImportScreen())) Action = () => performer?.PerformFromScreen(menu => menu.Push(new FileImportScreen()))
}); },
new SettingsButton
{
Text = @"Run latency comparer",
Action = () => performer?.PerformFromScreen(menu => menu.Push(new LatencyComparerScreen()))
}
};
} }
} }
} }