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:
parent
0adeccbf03
commit
20cfa5d83f
@ -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()))
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user