Explain the color notation.
This commit is contained in:
committed by
reaperrr
parent
59d88199cf
commit
55ea54ff2d
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using OpenRA.GameRules;
|
using OpenRA.GameRules;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
@@ -238,8 +239,8 @@ namespace OpenRA.Mods.Common
|
|||||||
if (t == typeof(WVec))
|
if (t == typeof(WVec))
|
||||||
return "3D World Vector";
|
return "3D World Vector";
|
||||||
|
|
||||||
if (t == typeof(HSLColor))
|
if (t == typeof(HSLColor) || t == typeof(Color))
|
||||||
return "Color";
|
return "Color (RRGGBB[AA] notation)";
|
||||||
|
|
||||||
return t.Name;
|
return t.Name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user