mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Change version comparison to match other existing code as proposed in review
This commit is contained in:
@ -62,7 +62,7 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
decimal? legacyVersion = skin.GetConfig<SkinConfiguration.LegacySetting, decimal>(SkinConfiguration.LegacySetting.Version)?.Value;
|
decimal? legacyVersion = skin.GetConfig<SkinConfiguration.LegacySetting, decimal>(SkinConfiguration.LegacySetting.Version)?.Value;
|
||||||
|
|
||||||
if (legacyVersion > 1)
|
if (legacyVersion >= 2.0m)
|
||||||
{
|
{
|
||||||
this.MoveTo(new Vector2(0, -5));
|
this.MoveTo(new Vector2(0, -5));
|
||||||
this.MoveToOffset(new Vector2(0, 80), fade_out_delay + fade_out_length, Easing.In);
|
this.MoveToOffset(new Vector2(0, 80), fade_out_delay + fade_out_length, Easing.In);
|
||||||
|
Reference in New Issue
Block a user