Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-27 22:58:27 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-27 22:58:27 +0300
commitd12174359b847e041b35abbbecc6c0d6983c2524 (patch)
treeb1923aa2cc19b397806467d436228f0428cf2540
parentc4cb1535c87ea2d44e61716af8058e769271b65e (diff)
Refactoring.
-rw-r--r--NesTiler/Palette.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/NesTiler/Palette.cs b/NesTiler/Palette.cs
index 2f6ddf6..224c29b 100644
--- a/NesTiler/Palette.cs
+++ b/NesTiler/Palette.cs
@@ -103,18 +103,6 @@ namespace com.clusterrr.Famicom.NesTiler
{
if (other == null) return false;
var colors1 = colors.Where(c => c.HasValue)
- .OrderBy(c => c!.Value.ToArgb())
- .Select(c => c!.Value)
- .ToArray();
- var colors2 = new SKColor?[] { other[1], other[2], other[3] }
- .Where(c => c.HasValue)
- .OrderBy(c => c!.Value.ToArgb())
- .Select(c => c!.Value)
- .ToArray();
- return Enumerable.SequenceEqual(colors1, colors2);
- /*
- if (other == null) return false;
- var colors1 = colors.Where(c => c.HasValue)
.Select(c => c!.Value.ToArgb())
.OrderBy(c => c)
.ToArray();
@@ -125,7 +113,6 @@ namespace com.clusterrr.Famicom.NesTiler
.ToArray();
var r = Enumerable.SequenceEqual(colors1, colors2);
return r;
- */
}
public bool Contains(Palette other)