Move color picker remap indices into a chrome metric.

This commit is contained in:
Paul Chote
2013-06-29 13:00:43 +12:00
parent fd660c7fa0
commit 528198977a
8 changed files with 5 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Mods.RA.Widgets
public class ColorPreviewManagerWidget : Widget
{
public readonly string Palette = "colorpicker";
public readonly int[] RemapIndices = {};
public readonly int[] RemapIndices = ChromeMetrics.Get<int[]>("ColorPickerRemapIndices");
public readonly float Ramp = 0.05f;
public HSLColor Color;