diff --git a/osu.Game/Database/OnlineWorkingBeatmap.cs b/osu.Game/Database/OnlineWorkingBeatmap.cs index 87539d55e4..dcbe21f33c 100644 --- a/osu.Game/Database/OnlineWorkingBeatmap.cs +++ b/osu.Game/Database/OnlineWorkingBeatmap.cs @@ -9,7 +9,7 @@ using osu.Game.Beatmaps; namespace osu.Game.Database { internal class OnlineWorkingBeatmap : WorkingBeatmap - { + { private TextureStore textures; private TrackManager tracks; diff --git a/osu.Game/Overlays/Direct/DirectListPanel.cs b/osu.Game/Overlays/Direct/DirectListPanel.cs index aa28ca642e..a17597d10a 100644 --- a/osu.Game/Overlays/Direct/DirectListPanel.cs +++ b/osu.Game/Overlays/Direct/DirectListPanel.cs @@ -149,7 +149,6 @@ namespace osu.Game.Overlays.Direct }, }, }; - } private class DownloadButton : ClickableContainer @@ -171,26 +170,26 @@ namespace osu.Game.Overlays.Direct }; } - protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) - { - icon.ScaleTo(0.9f, 1000, EasingTypes.Out); - return base.OnMouseDown(state, args); - } - - protected override bool OnMouseUp(InputState state, MouseUpEventArgs args) - { - icon.ScaleTo(1f, 500, EasingTypes.OutElastic); - return base.OnMouseUp(state, args); - } - - protected override bool OnHover(InputState state) - { - icon.ScaleTo(1.1f, 500, EasingTypes.OutElastic); - return base.OnHover(state); - } - - protected override void OnHoverLost(InputState state) - { + protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) + { + icon.ScaleTo(0.9f, 1000, EasingTypes.Out); + return base.OnMouseDown(state, args); + } + + protected override bool OnMouseUp(InputState state, MouseUpEventArgs args) + { + icon.ScaleTo(1f, 500, EasingTypes.OutElastic); + return base.OnMouseUp(state, args); + } + + protected override bool OnHover(InputState state) + { + icon.ScaleTo(1.1f, 500, EasingTypes.OutElastic); + return base.OnHover(state); + } + + protected override void OnHoverLost(InputState state) + { icon.ScaleTo(1, 500, EasingTypes.OutElastic); } } diff --git a/osu.Game/Overlays/Direct/DirectPanel.cs b/osu.Game/Overlays/Direct/DirectPanel.cs index 5b11326745..016fb755a6 100644 --- a/osu.Game/Overlays/Direct/DirectPanel.cs +++ b/osu.Game/Overlays/Direct/DirectPanel.cs @@ -27,7 +27,7 @@ namespace osu.Game.Overlays.Direct protected IEnumerable GetDifficultyIcons() { var icons = new List(); - + foreach (var b in SetInfo.Beatmaps) icons.Add(new DifficultyIcon(b)); diff --git a/osu.Game/Overlays/Settings/SettingsEnumDropdown.cs b/osu.Game/Overlays/Settings/SettingsEnumDropdown.cs index ffd8c04c50..5725ee8439 100644 --- a/osu.Game/Overlays/Settings/SettingsEnumDropdown.cs +++ b/osu.Game/Overlays/Settings/SettingsEnumDropdown.cs @@ -8,10 +8,10 @@ namespace osu.Game.Overlays.Settings { public class SettingsEnumDropdown : SettingsDropdown { - protected override Drawable CreateControl() => new OsuEnumDropdown - { - Margin = new MarginPadding { Top = 5 }, - RelativeSizeAxes = Axes.X, + protected override Drawable CreateControl() => new OsuEnumDropdown + { + Margin = new MarginPadding { Top = 5 }, + RelativeSizeAxes = Axes.X, }; } }