1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 12:35:34 +08:00

corrected styling issues

This commit is contained in:
Shivam 2020-05-22 20:01:26 +02:00
parent a973a324ac
commit c6345ba6c9
2 changed files with 6 additions and 8 deletions

View File

@ -8,7 +8,6 @@ namespace osu.Game.Tournament.Tests.Screens
{
public class TestSceneStablePathSelectScreens : TournamentTestScene
{
public TestSceneStablePathSelectScreens()
{
AddStep("Add screen", () => Add(new TestSceneStablePathSelectScreen()));
@ -16,12 +15,12 @@ namespace osu.Game.Tournament.Tests.Screens
private class TestSceneStablePathSelectScreen : StablePathSelectScreen
{
protected override void changePath(Storage storage)
protected override void ChangePath(Storage storage)
{
Expire();
}
protected override void autoDetect()
protected override void AutoDetect()
{
Expire();
}

View File

@ -14,7 +14,6 @@ using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Overlays;
using osu.Game.Overlays.Dialog;
using osu.Game.Tournament.IPC;
using osu.Game.Tournament.Components;
using osuTK;
@ -109,7 +108,7 @@ namespace osu.Game.Tournament.Screens
Origin = Anchor.Centre,
Width = 300,
Text = "Select stable path",
Action = () => changePath(storage)
Action = () => ChangePath(storage)
},
new TriangleButton
{
@ -117,7 +116,7 @@ namespace osu.Game.Tournament.Screens
Origin = Anchor.Centre,
Width = 300,
Text = "Auto detect",
Action = autoDetect
Action = AutoDetect
},
}
}
@ -136,7 +135,7 @@ namespace osu.Game.Tournament.Screens
});
}
protected virtual void changePath(Storage storage)
protected virtual void ChangePath(Storage storage)
{
var target = directorySelector.CurrentDirectory.Value.FullName;
stableInfo.StablePath.Value = target;
@ -157,7 +156,7 @@ namespace osu.Game.Tournament.Screens
sceneManager?.SetScreen(typeof(SetupScreen));
}
protected virtual void autoDetect()
protected virtual void AutoDetect()
{
var fileBasedIpc = ipc as FileBasedIPC;
fileBasedIpc?.LocateStableStorage();