Skip to content

Commit a75f004

Browse files
committed
Update
1 parent 087d3b2 commit a75f004

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

SmartImage/Searching/FullSearchResult.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using System.Text;
1010
using JetBrains.Annotations;
1111
using Novus.Win32;
12-
using Pastel;
1312
using SimpleCore.Cli;
1413
using SimpleCore.Net;
1514
using SimpleCore.Numeric;
@@ -316,7 +315,7 @@ private void AppendResultInfo(StringBuilder sb, string name, string? value, bool
316315
newColor = SimilarityColorGradient[(int) Similarity];
317316
}
318317

319-
string? valueStr = value.Pastel(newColor);
318+
string? valueStr = value.AddColor(newColor);
320319
sb.Append($"\t{NConsole.ANSI_RESET}{name}: {valueStr}{NConsole.ANSI_RESET}\n");
321320
}
322321
}

SmartImage/SmartImage.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<PackageReference Include="JetBrains.Annotations" Version="2020.3.0" />
3434
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
3535
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
36-
<PackageReference Include="Pastel" Version="2.1.0" />
3736
<PackageReference Include="RestSharp" Version="106.11.7" />
3837
<PackageReference Include="System.Drawing.Common" Version="5.0.1" />
3938
<PackageReference Include="System.Json" Version="4.7.1" />

0 commit comments

Comments
 (0)