mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Revert "Add marker interface for beatmap skins"
This commit is contained in:
@ -11,7 +11,7 @@ namespace osu.Game.Skinning
|
||||
/// <summary>
|
||||
/// A container which overrides existing skin options with beatmap-local values.
|
||||
/// </summary>
|
||||
public class BeatmapSkinProvidingContainer : SkinProvidingContainer, IBeatmapSkin
|
||||
public class BeatmapSkinProvidingContainer : SkinProvidingContainer
|
||||
{
|
||||
private readonly Bindable<bool> beatmapSkins = new Bindable<bool>();
|
||||
private readonly Bindable<bool> beatmapHitsounds = new Bindable<bool>();
|
||||
@ -21,7 +21,7 @@ namespace osu.Game.Skinning
|
||||
protected override bool AllowTextureLookup(string componentName) => beatmapSkins.Value;
|
||||
protected override bool AllowSampleLookup(ISampleInfo componentName) => beatmapHitsounds.Value;
|
||||
|
||||
public BeatmapSkinProvidingContainer(IBeatmapSkin skin)
|
||||
public BeatmapSkinProvidingContainer(ISkin skin)
|
||||
: base(skin)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user