1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 01:17:19 +08:00

Fix incorrect upper bound

This commit is contained in:
smoogipoo 2020-06-25 13:43:56 +09:00
parent 4c601af207
commit 8b84aa454d

View File

@ -275,7 +275,7 @@ namespace osu.Game.Skinning
if (!source.CustomColours.TryGetValue(lookup, out var col))
return null;
if (col.A <= 0 || col.A >= 255)
if (col.A <= 0 || col.A >= 1)
col.A = 1;
return new Bindable<Color4>(col);