mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Scale pieces individually and use skin source directly
This commit is contained in:
@ -21,10 +21,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
{
|
||||
public ApproachCircle ApproachCircle { get; }
|
||||
|
||||
public IBindable<bool> ExpandNumberPiece => expandNumberPiece;
|
||||
|
||||
private readonly BindableBool expandNumberPiece = new BindableBool();
|
||||
|
||||
private readonly IBindable<Vector2> positionBindable = new Bindable<Vector2>();
|
||||
private readonly IBindable<int> stackHeightBindable = new Bindable<int>();
|
||||
private readonly IBindable<float> scaleBindable = new Bindable<float>();
|
||||
@ -111,13 +107,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ApplySkin(ISkinSource skin, bool allowFallback)
|
||||
{
|
||||
base.ApplySkin(skin, allowFallback);
|
||||
|
||||
expandNumberPiece.Value = skin.GetConfig<OsuSkinConfiguration, bool>(OsuSkinConfiguration.ExpandNumberPiece)?.Value ?? false;
|
||||
}
|
||||
|
||||
protected override void CheckForResult(bool userTriggered, double timeOffset)
|
||||
{
|
||||
Debug.Assert(HitObject.HitWindows != null);
|
||||
|
Reference in New Issue
Block a user