From a59b92c5f2a59d6078128a2ad209679031d5429d Mon Sep 17 00:00:00 2001 From: D4VID Date: Sat, 1 Mar 2025 20:13:10 +0100 Subject: [PATCH] Remove unused argument --- .../src/client/tool/PathHighlighter.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CriticalPathAnalyzer/CriticalPathAnalyzer/src/client/tool/PathHighlighter.cs b/CriticalPathAnalyzer/CriticalPathAnalyzer/src/client/tool/PathHighlighter.cs index 5d796ae..e2c8014 100644 --- a/CriticalPathAnalyzer/CriticalPathAnalyzer/src/client/tool/PathHighlighter.cs +++ b/CriticalPathAnalyzer/CriticalPathAnalyzer/src/client/tool/PathHighlighter.cs @@ -8,10 +8,6 @@ using LogicWorld.Outlines; namespace CriticalPathAnalyzer.Client.Tool { public class PathHighlighter { - private static readonly OutlineData Color = new OutlineData(new Color24(0xff0000)); - private static readonly OutlineData NextColor = new OutlineData(new Color24(0xff00ff)); - private static readonly OutlineData PerimeterColor = new OutlineData(new Color24(0xffff00)); - private static List _clusters = new List(); private static List _highlightedComponents = new List(); private static List _highlightedWires = new List(); @@ -20,7 +16,7 @@ namespace CriticalPathAnalyzer.Client.Tool { _clusters = clusters; foreach (ClusterDetails clusterDetails in _clusters) { - HighlightCluster(clusterDetails, Color); + HighlightCluster(clusterDetails); } // IWorldData world = Instances.MainWorld.Data; @@ -40,7 +36,7 @@ namespace CriticalPathAnalyzer.Client.Tool { // } } - private static void HighlightCluster(ClusterDetails cluster, OutlineData outlineOld) { + private static void HighlightCluster(ClusterDetails cluster) { IWorldData world = Instances.MainWorld.Data; var outline = new OutlineData(new Color24(cluster.Color));