Remove unused argument

master
D4VID 7 months ago
parent 0129f45370
commit a59b92c5f2

@ -8,10 +8,6 @@ using LogicWorld.Outlines;
namespace CriticalPathAnalyzer.Client.Tool { namespace CriticalPathAnalyzer.Client.Tool {
public class PathHighlighter { 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<ClusterDetails> _clusters = new List<ClusterDetails>(); private static List<ClusterDetails> _clusters = new List<ClusterDetails>();
private static List<ComponentAddress> _highlightedComponents = new List<ComponentAddress>(); private static List<ComponentAddress> _highlightedComponents = new List<ComponentAddress>();
private static List<WireAddress> _highlightedWires = new List<WireAddress>(); private static List<WireAddress> _highlightedWires = new List<WireAddress>();
@ -20,7 +16,7 @@ namespace CriticalPathAnalyzer.Client.Tool {
_clusters = clusters; _clusters = clusters;
foreach (ClusterDetails clusterDetails in _clusters) { foreach (ClusterDetails clusterDetails in _clusters) {
HighlightCluster(clusterDetails, Color); HighlightCluster(clusterDetails);
} }
// IWorldData world = Instances.MainWorld.Data; // 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; IWorldData world = Instances.MainWorld.Data;
var outline = new OutlineData(new Color24(cluster.Color)); var outline = new OutlineData(new Color24(cluster.Color));

Loading…
Cancel
Save