Merge pull request #236 from Jaykul/feature/schemeslist

Fix UIntTocolor
This commit is contained in:
Michael Niksa 2018-10-02 09:09:48 -07:00 committed by GitHub
commit 2c33edcba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,11 +230,10 @@ namespace ColorTool
private static Color UIntToColor(uint color)
{
byte a = (byte)(color >> 24);
byte r = (byte)(color >> 16);
byte r = (byte)(color >> 0);
byte g = (byte)(color >> 8);
byte b = (byte)(color >> 0);
return Color.FromArgb(a, r, g, b);
byte b = (byte)(color >> 16);
return Color.FromArgb(r, g, b);
}
static bool SetProperties(ColorScheme colorScheme)