Merge pull request #9945 from smoogipoo/skin-colour-fix-2

Exactly reproduce osu!stable skin colour alphas
This commit is contained in:
Dean Herbert
2020-08-29 20:06:26 +09:00
committed by GitHub
14 changed files with 86 additions and 50 deletions

View File

@ -104,10 +104,6 @@ namespace osu.Game.Beatmaps.Formats
try
{
byte alpha = split.Length == 4 ? byte.Parse(split[3]) : (byte)255;
if (alpha == 0)
alpha = 255;
colour = new Color4(byte.Parse(split[0]), byte.Parse(split[1]), byte.Parse(split[2]), alpha);
}
catch