1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-11 00:02:56 +08:00

Remove skinnability for now

Not sure if we want this going forward.
This commit is contained in:
Dean Herbert 2018-12-20 15:48:45 +09:00
parent 07f8b8e334
commit bb850da200

View File

@ -14,7 +14,6 @@ using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI; using osu.Game.Rulesets.UI;
using osu.Game.Skinning;
using osuTK; using osuTK;
using osuTK.Graphics; using osuTK.Graphics;
@ -235,15 +234,12 @@ namespace osu.Game.Rulesets.Osu.Mods
/// </summary> /// </summary>
public void AnimateClosedness(float value) => this.TransformTo(nameof(easing), value, 200, Easing.OutQuint); public void AnimateClosedness(float value) => this.TransformTo(nameof(easing), value, 200, Easing.OutQuint);
public class ModBlindsPanel : CompositeDrawable public class ModBlindsPanel : Sprite
{ {
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(TextureStore textures) private void load(TextureStore textures)
{ {
InternalChild = new SkinnableDrawable("Play/osu/blinds-panel", s => new Sprite { Texture = textures.Get("Play/osu/blinds-panel") }) Texture = textures.Get("Play/osu/blinds-panel");
{
RelativeSizeAxes = Axes.Both,
};
} }
} }
} }