mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix incorrect upper bound
This commit is contained in:
@ -275,7 +275,7 @@ namespace osu.Game.Skinning
|
|||||||
if (!source.CustomColours.TryGetValue(lookup, out var col))
|
if (!source.CustomColours.TryGetValue(lookup, out var col))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
if (col.A <= 0 || col.A >= 255)
|
if (col.A <= 0 || col.A >= 1)
|
||||||
col.A = 1;
|
col.A = 1;
|
||||||
|
|
||||||
return new Bindable<Color4>(col);
|
return new Bindable<Color4>(col);
|
||||||
|
Reference in New Issue
Block a user