mirror of https://github.com/ppy/osu
Fix hitcircle font prefix not being read for legacy skins
This commit is contained in:
parent
523e395d2e
commit
36d3736e1d
|
@ -79,7 +79,7 @@ public Drawable GetDrawableComponent(ISkinComponent component)
|
|||
return null;
|
||||
|
||||
case OsuSkinComponents.HitCircleText:
|
||||
var font = GetConfig<OsuSkinConfiguration, string>(OsuSkinConfiguration.HitCircleFont)?.Value ?? "default";
|
||||
var font = GetConfig<OsuSkinConfiguration, string>(OsuSkinConfiguration.HitCirclePrefix)?.Value ?? "default";
|
||||
var overlap = GetConfig<OsuSkinConfiguration, float>(OsuSkinConfiguration.HitCircleOverlap)?.Value ?? 0;
|
||||
|
||||
return !hasFont(font)
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
|||
{
|
||||
public enum OsuSkinConfiguration
|
||||
{
|
||||
HitCircleFont,
|
||||
HitCirclePrefix,
|
||||
HitCircleOverlap,
|
||||
SliderBorderSize,
|
||||
SliderPathRadius,
|
||||
|
|
Loading…
Reference in New Issue