mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 19:27:31 +08:00
Fix naming
This commit is contained in:
parent
08b8cedfdf
commit
bcb1504110
@ -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));
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user