mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Add ExpandNumberPiece configuration with OsuLegacySkinTransformer
This commit is contained in:
parent
4880fd9e02
commit
812d33f850
@ -123,6 +123,10 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
return SkinUtils.As<TValue>(new BindableFloat(legacy_circle_radius));
|
||||
|
||||
break;
|
||||
|
||||
case OsuSkinConfiguration.ExpandNumberPiece:
|
||||
string legacyVersion = source.GetConfig<string, string>("Version")?.Value ?? "1";
|
||||
return SkinUtils.As<TValue>(new BindableBool(double.TryParse(legacyVersion, out double version) && version < 2.0));
|
||||
}
|
||||
|
||||
break;
|
||||
|
@ -7,6 +7,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
||||
{
|
||||
HitCirclePrefix,
|
||||
HitCircleOverlap,
|
||||
ExpandNumberPiece,
|
||||
SliderBorderSize,
|
||||
SliderPathRadius,
|
||||
AllowSliderBallTint,
|
||||
|
Loading…
Reference in New Issue
Block a user