mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Fix naming
This commit is contained in:
parent
08b8cedfdf
commit
bcb1504110
@ -80,10 +80,10 @@ namespace osu.Game.Skinning
|
||||
case GlobalSkinColour colour:
|
||||
return SkinUtils.As<TValue>(getCustomColour(colour.ToString()));
|
||||
|
||||
case LegacySkinConfigurations legacy:
|
||||
case LegacySkinConfiguration.LegacySetting legacy:
|
||||
switch (legacy)
|
||||
{
|
||||
case LegacySkinConfigurations.Version:
|
||||
case LegacySkinConfiguration.LegacySetting.Version:
|
||||
if (Configuration.LegacyVersion is decimal version)
|
||||
return SkinUtils.As<TValue>(new Bindable<decimal>(version));
|
||||
|
||||
|
@ -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.
|
||||
/// </summary>
|
||||
public decimal? LegacyVersion { get; internal set; }
|
||||
}
|
||||
|
||||
public enum LegacySkinConfigurations
|
||||
{
|
||||
Version,
|
||||
public enum LegacySetting
|
||||
{
|
||||
Version,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user