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

Fix checking for expand incorrectly

This commit is contained in:
Salman Ahmed 2019-12-19 14:44:52 +03:00
parent 41ca084fa5
commit 121ce2c3df

View File

@ -126,7 +126,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
break;
case OsuSkinConfiguration.ExpandNumberPiece:
bool expand = source.GetConfig<LegacySetting, decimal>(LegacySetting.Version)?.Value < 2.0m;
bool expand = !(source.GetConfig<LegacySetting, decimal>(LegacySetting.Version)?.Value >= 2.0m);
return SkinUtils.As<TValue>(new BindableBool(expand));
}