diff --git a/osu.Game/Screens/Edit/Editor.cs b/osu.Game/Screens/Edit/Editor.cs index 3598a3df45..d2bc4a014c 100644 --- a/osu.Game/Screens/Edit/Editor.cs +++ b/osu.Game/Screens/Edit/Editor.cs @@ -10,10 +10,10 @@ namespace osu.Game.Screens.Edit { internal class Editor : ScreenWhiteBox { - private WorkingBeatmap beatmap; - public Editor(WorkingBeatmap wokringBeatmap) + //private WorkingBeatmap beatmap; + public Editor(WorkingBeatmap workingBeatmap) { - beatmap = wokringBeatmap; + //beatmap = workingBeatmap; } protected override BackgroundScreen CreateBackground() => new BackgroundScreenCustom(@"Backgrounds/bg4"); diff --git a/osu.Game/Screens/Select/Footer.cs b/osu.Game/Screens/Select/Footer.cs index 18d9516eaa..a79f518c51 100644 --- a/osu.Game/Screens/Select/Footer.cs +++ b/osu.Game/Screens/Select/Footer.cs @@ -36,6 +36,10 @@ namespace osu.Game.Screens.Select public OsuLogo StartButton; + /// Text on the button. + /// Colour of the button. + /// Hotkey of the button. + /// Action the button does. /// /// Higher depth to be put on the left, and lower to be put on the right. /// Notice this is different to ! diff --git a/osu.Game/Screens/Select/Options/BeatmapOptionsOverlay.cs b/osu.Game/Screens/Select/Options/BeatmapOptionsOverlay.cs index 1fb2680b6a..690669ffc1 100644 --- a/osu.Game/Screens/Select/Options/BeatmapOptionsOverlay.cs +++ b/osu.Game/Screens/Select/Options/BeatmapOptionsOverlay.cs @@ -86,16 +86,22 @@ namespace osu.Game.Screens.Select.Options }; } + /// Text in the first line. + /// Text in the second line. + /// Colour of the button. + /// Icon of the button. + /// Hotkey of the button. + /// Action the button does. /// /// Lower depth to be put on the left, and higher to be put on the right. /// Notice this is different to ! /// - public void AddButton(string firstLine, string secongLine, FontAwesome icon, Color4 colour, Action action, Key? hotkey = null, float depth = 0) + public void AddButton(string firstLine, string secondLine, FontAwesome icon, Color4 colour, Action action, Key? hotkey = null, float depth = 0) { buttonsContainer.Add(new BeatmapOptionsButton { FirstLineText = firstLine, - SecondLineText = secongLine, + SecondLineText = secondLine, Icon = icon, ButtonColour = colour, Depth = depth,