1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 09:27:51 +08:00

Merge pull request #9686 from frenzibyte/add-missing-spacing-to-hitcircle-font

Fix incorrect default hitcircle font overlapping applied to legacy skins
This commit is contained in:
Dean Herbert 2020-07-27 16:59:00 +09:00 committed by GitHub
commit e0df75d735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
case OsuSkinComponents.HitCircleText:
var font = GetConfig<OsuSkinConfiguration, string>(OsuSkinConfiguration.HitCirclePrefix)?.Value ?? "default";
var overlap = GetConfig<OsuSkinConfiguration, float>(OsuSkinConfiguration.HitCircleOverlap)?.Value ?? 0;
var overlap = GetConfig<OsuSkinConfiguration, float>(OsuSkinConfiguration.HitCircleOverlap)?.Value ?? -2;
return !hasFont(font)
? null