bugfixing
This commit is contained in:
parent
ca86ef9cd7
commit
fdff421a89
2 changed files with 14 additions and 9 deletions
|
@ -18,7 +18,6 @@ namespace Sledgemapper
|
|||
|
||||
public static Color ToColor(this string s)
|
||||
{
|
||||
System.Console.WriteLine(s);
|
||||
var hexs = s.TrimStart('#').Split(2).ToArray();
|
||||
var color = new Color(int.Parse(hexs[0], System.Globalization.NumberStyles.HexNumber),
|
||||
int.Parse(hexs[1], System.Globalization.NumberStyles.HexNumber),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue