mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 20:33:01 +08:00
Add support for HitCircleOverlayAboveNumber legacy skin property
This commit is contained in:
parent
6907522cd7
commit
f96229c572
@ -80,6 +80,11 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
|
||||
return tex ?? skin.GetTexture($"hitcircle{name}");
|
||||
}
|
||||
|
||||
bool overlayAboveNumber = skin.GetConfig<OsuSkinConfiguration, bool>(OsuSkinConfiguration.HitCircleOverlayAboveNumber)?.Value ?? true;
|
||||
|
||||
if (!overlayAboveNumber)
|
||||
ChangeInternalChildDepth(hitCircleText, -float.MaxValue);
|
||||
}
|
||||
|
||||
private void updateState(ValueChangedEvent<ArmedState> state)
|
||||
|
@ -11,6 +11,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
SliderPathRadius,
|
||||
AllowSliderBallTint,
|
||||
CursorExpand,
|
||||
CursorRotate
|
||||
CursorRotate,
|
||||
HitCircleOverlayAboveNumber
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user