mirror of https://github.com/ppy/osu
Remove alpha mangling from LegacyDecoder
This commit is contained in:
parent
2ea6763c73
commit
88d50b6c47
|
@ -104,10 +104,6 @@ protected void HandleColours<TModel>(TModel output, string line)
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue