mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +08:00
Match condition
This commit is contained in:
parent
ac5cd8f25a
commit
4c601af207
@ -275,7 +275,7 @@ namespace osu.Game.Skinning
|
||||
if (!source.CustomColours.TryGetValue(lookup, out var col))
|
||||
return null;
|
||||
|
||||
if (col.A == 0)
|
||||
if (col.A <= 0 || col.A >= 255)
|
||||
col.A = 1;
|
||||
|
||||
return new Bindable<Color4>(col);
|
||||
|
Loading…
Reference in New Issue
Block a user