diff --git a/osu.Game/Graphics/UserInterface/OsuTabControlCheckBox.cs b/osu.Game/Graphics/UserInterface/OsuTabControlCheckBox.cs index a09173f6e2..7dc1212318 100644 --- a/osu.Game/Graphics/UserInterface/OsuTabControlCheckBox.cs +++ b/osu.Game/Graphics/UserInterface/OsuTabControlCheckBox.cs @@ -21,9 +21,9 @@ namespace osu.Game.Graphics.UserInterface /// public class OsuTabControlCheckBox : CheckBox { - private Box box; - private SpriteText text; - private TextAwesome icon; + private readonly Box box; + private readonly SpriteText text; + private readonly TextAwesome icon; public event EventHandler Action; diff --git a/osu.Game/Screens/Select/BeatmapDetailArea.cs b/osu.Game/Screens/Select/BeatmapDetailArea.cs index 5943a0d0ad..30a6420e68 100644 --- a/osu.Game/Screens/Select/BeatmapDetailArea.cs +++ b/osu.Game/Screens/Select/BeatmapDetailArea.cs @@ -16,7 +16,7 @@ namespace osu.Game.Screens.Select { private const float transition_duration = 500; - private Container content; + private readonly Container content; protected override Container Content => content; public readonly Container Details; //todo: replace with a real details view when added diff --git a/osu.Game/Screens/Select/BeatmapDetailAreaTabControl.cs b/osu.Game/Screens/Select/BeatmapDetailAreaTabControl.cs index 1345fc7a6a..c85f223649 100644 --- a/osu.Game/Screens/Select/BeatmapDetailAreaTabControl.cs +++ b/osu.Game/Screens/Select/BeatmapDetailAreaTabControl.cs @@ -17,8 +17,8 @@ namespace osu.Game.Screens.Select public class BeatmapDetailAreaTabControl : Container { public static readonly float HEIGHT = 24; - private OsuTabControlCheckBox modsCheckbox; - private OsuTabControl tabs; + private readonly OsuTabControlCheckBox modsCheckbox; + private readonly OsuTabControl tabs; public Action OnFilter; //passed the selected tab and if mods is checked