diff --git a/osu.Game/Screens/Edit/EditorBeatmapSkin.cs b/osu.Game/Screens/Edit/EditorBeatmapSkin.cs
index 243a994a7f..f650ffa5a3 100644
--- a/osu.Game/Screens/Edit/EditorBeatmapSkin.cs
+++ b/osu.Game/Screens/Edit/EditorBeatmapSkin.cs
@@ -24,9 +24,7 @@ namespace osu.Game.Screens.Edit
///
/// The underlying beatmap skin.
///
- protected internal ISkin Skin => skin;
-
- private readonly Skin skin;
+ protected internal readonly Skin Skin;
///
/// The combo colours of this skin.
@@ -36,11 +34,11 @@ namespace osu.Game.Screens.Edit
public EditorBeatmapSkin(Skin skin)
{
- this.skin = skin;
+ Skin = skin;
ComboColours = new BindableList();
- if (skin.Configuration.ComboColours != null)
- ComboColours.AddRange(skin.Configuration.ComboColours.Select(c => (Colour4)c));
+ if (Skin.Configuration.ComboColours != null)
+ ComboColours.AddRange(Skin.Configuration.ComboColours.Select(c => (Colour4)c));
ComboColours.BindCollectionChanged((_, __) => updateColours());
}
@@ -48,16 +46,16 @@ namespace osu.Game.Screens.Edit
private void updateColours()
{
- skin.Configuration.CustomComboColours = ComboColours.Select(c => (Color4)c).ToList();
+ Skin.Configuration.CustomComboColours = ComboColours.Select(c => (Color4)c).ToList();
invokeSkinChanged();
}
#region Delegated ISkin implementation
- public Drawable GetDrawableComponent(ISkinComponent component) => skin.GetDrawableComponent(component);
- public Texture GetTexture(string componentName, WrapMode wrapModeS, WrapMode wrapModeT) => skin.GetTexture(componentName, wrapModeS, wrapModeT);
- public ISample GetSample(ISampleInfo sampleInfo) => skin.GetSample(sampleInfo);
- public IBindable GetConfig(TLookup lookup) => skin.GetConfig(lookup);
+ public Drawable GetDrawableComponent(ISkinComponent component) => Skin.GetDrawableComponent(component);
+ public Texture GetTexture(string componentName, WrapMode wrapModeS, WrapMode wrapModeT) => Skin.GetTexture(componentName, wrapModeS, wrapModeT);
+ public ISample GetSample(ISampleInfo sampleInfo) => Skin.GetSample(sampleInfo);
+ public IBindable GetConfig(TLookup lookup) => Skin.GetConfig(lookup);
#endregion
}