Fix deprecated calls and code styling (partly)

This commit is contained in:
Dean Herbert
2019-05-13 00:46:22 +09:00
parent 34f54aa945
commit 31b72f168d
17 changed files with 62 additions and 56 deletions

View File

@ -36,6 +36,7 @@ namespace osu.Game.Graphics
if (!string.IsNullOrEmpty(name))
if (colours.TryGetValue(name, out ColourInfo colour))
return colour;
return new Color4(0, 0, 0, 255);
}
}