1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 16:37:26 +08:00

Fix naming

This commit is contained in:
Dean Herbert 2019-11-20 15:40:35 +09:00
parent 08b8cedfdf
commit bcb1504110
2 changed files with 6 additions and 6 deletions

View File

@ -80,10 +80,10 @@ namespace osu.Game.Skinning
case GlobalSkinColour colour: case GlobalSkinColour colour:
return SkinUtils.As<TValue>(getCustomColour(colour.ToString())); return SkinUtils.As<TValue>(getCustomColour(colour.ToString()));
case LegacySkinConfigurations legacy: case LegacySkinConfiguration.LegacySetting legacy:
switch (legacy) switch (legacy)
{ {
case LegacySkinConfigurations.Version: case LegacySkinConfiguration.LegacySetting.Version:
if (Configuration.LegacyVersion is decimal version) if (Configuration.LegacyVersion is decimal version)
return SkinUtils.As<TValue>(new Bindable<decimal>(version)); return SkinUtils.As<TValue>(new Bindable<decimal>(version));

View File

@ -11,10 +11,10 @@ namespace osu.Game.Skinning
/// Legacy version of this skin. Null if no version was set to allow fallback to a parent skin version. /// Legacy version of this skin. Null if no version was set to allow fallback to a parent skin version.
/// </summary> /// </summary>
public decimal? LegacyVersion { get; internal set; } public decimal? LegacyVersion { get; internal set; }
}
public enum LegacySkinConfigurations public enum LegacySetting
{ {
Version, Version,
}
} }
} }