diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-15 23:52:43 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-10-15 23:52:43 +0300 |
commit | a0b2efdee8482c7b6343425c2b09bbf4d466abb8 (patch) | |
tree | cdab174266842396417275407529e63376606c27 /NesTiler/Palette.cs | |
parent | 6b20264f0d07295448a96256f3cdaf1da5478879 (diff) |
Tests fixes, minor changes
Diffstat (limited to 'NesTiler/Palette.cs')
-rw-r--r-- | NesTiler/Palette.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NesTiler/Palette.cs b/NesTiler/Palette.cs index 16da496..1d9cb8b 100644 --- a/NesTiler/Palette.cs +++ b/NesTiler/Palette.cs @@ -134,7 +134,7 @@ namespace com.clusterrr.Famicom.NesTiler return GetEnumerator();
}
- public override string ToString() => string.Join(", ", colors.Where(c => c.HasValue).Select(c => ColorTranslator.ToHtml(c.Value)));
+ public override string ToString() => string.Join(", ", colors.Where(c => c.HasValue).Select(c => ColorTranslator.ToHtml(c.Value)).OrderBy(c => c));
public override int GetHashCode()
{
|